You can use throttling functions to control the data transfer rate for individual requests.
limit_rate_after
| Item | Description |
| Syntax | limit_rate_after(n, unit) |
| Description | Sets the amount of data that can be transferred before rate limiting takes effect. Note This function applies to an individual request and is not a global bandwidth limit. |
| Parameters |
|
| Return value | truefalseReturns on success or on failure. |
| Examples | |
limit_rate
| Item | Description |
| Syntax | limit_rate(n, unit) |
| Description | Sets the data transfer rate for a request. The minimum rate is 4 KB/s. If you specify a rate lower than 4 KB/s, the rate defaults to 4 KB/s. Note This function applies to an individual request and is not a global bandwidth limit. |
| Parameters |
|
| Return value | truefalseReturns on success or on failure. |
| Examples | |