ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / HTTP functions
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
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help