ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / HTTP functions
  • Limits
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
HTTPSimulateNetwork (Function)
In french: HTTPSimuleRéseau
Simulates a slow network by limiting the download and upload speed.
Remark: This simulation is taken into account by the HTTPRequest type only and when using 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
AndroidAndroid Widget

Limits

This function is available for the devices equipped with ARM processors. A fatal error occurs if this function is used with devices not equipped with ARM processors (x86, mips, ...).
Component: wd290com.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help