PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Sets the timeout for WLanguage functions that use the HTTP protocol (HTTPRequest, SOAPRun, DotNetRun, J2EERun, etc.).
Versions 20 and later
WEBDEV - Server code Caution, if you are using an httpRequest variable, the timeout is set by the TimeOut property of the variable.
New in version 20
WEBDEV - Server code Caution, if you are using an httpRequest variable, the timeout is set by the TimeOut property of the variable.
WEBDEV - Server code Caution, if you are using an httpRequest variable, 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,
  • Versions 23 and later
    the direct indication of duration (20 s or 10 ms for example).
    New in version 23
    the direct indication of duration (20 s or 10 ms for example).
    the direct indication of duration (20 s or 10 ms for example).
The value of the timeout is set to 200 seconds by default (200 000 milliseconds).
Component : wd240com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment