ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / HTTP functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HTTPSimulateNetwork (Function)
In french: HTTPSimuleRéseau
Simulates a slow network by limiting the download and upload speed.
Note: This simulation is only taken into account by type HTTPRequest and when using functions HTTPSend and HTTPSendForm..
Example
HTTPSimulateNetwork(1024, 1024)
res is httpResponse = HTTPSend("http://www.windev.com")
HTTPSimulateNetwork()
Syntax
HTTPSimulateNetwork([<Maximum Download Speed> [, <Maximum Upload Speed>]])
<Maximum Download Speed>: Optional integer
  • Maximum speed to simulate for receiving data, expressed in kilo-bytes per second. This speed is given for information only.
  • 0 (default value) means that this speed is not limited.
<Maximum Upload Speed>: Optional integer
  • Maximum speed to simulate for sending data, expressed in kilo-bytes per second. This speed is given for information only.
  • 0 (default value) means that this speed is not limited.
Remarks
Component: wd300com.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help