AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones HTTP
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Sets the timeout for WLanguage functions that use the HTTP protocol (HTTPRequest, SOAPRun, DotNetRun, J2EERun, imported webservice, etc.).
WINDEVWEBDEV - Server codeiPhone/iPad Caution, if you are using a variable of type httpRequest, the timeout is set by the Timeout property of the variable.
Example
IF HTTPTimeOut() > 200000 THEN HTTPTimeOut(20000)
// Retrieve the HTML code of "www.windev.com" Web page
ResStart = HTTPRequest("http://www.windev.com")
Syntax

Reading the current timeout setting Hide the details

<Result> = HTTPTimeOut()
<Result>: Integer
Value of the timeout expressed in milliseconds. The value of the timeout is set to 200 seconds by default (200 000 milliseconds).

Modifying the timeout setting Hide the details

HTTPTimeOut(<New timeout>)
<New timeout>: Integer ou Duration
New timeout value, expressed in milliseconds. This parameter can correspond to:
  • an integer corresponding to the number of milliseconds,
  • a Duration variable,
  • the duration in a readable format (e.g., 20s or 10 ms).
The value of the timeout is set to 200 seconds by default (200 000 milliseconds).
Component: wd290com.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local