Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the maximum download speed.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
(old name: CURL.SetOptionMaxRecvSpeedLarge)
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | The maximum download speed in bytes per second. | 50000 |
Returns "OK" on success.
See also MAX_RECV_SPEED option in CURL manual.
Slow down to 5 KB/s:
Set Variable [$r; Value: MBS( "CURL.SetOptionMaxRecvSpeed"; $curl; 5000 ) ]
Created 18th August 2014, last changed 17th June 2022
CURL.SetOptionMaxLifeTimeConnection - CURL.SetOptionMaxRedirs