Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CURL.GetRetryAfter

Returns the Retry-After retry delay.

Component Version macOS Windows Linux Server iOS SDK
CURL 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.GetRetryAfter"; curl )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns number or error.

Description

Returns the Retry-After retry delay.
Receive the number of seconds the HTTP server suggesets the client should wait until the next request is issued.
The information from the "Retry-After:" header.

While the HTTP header might contain a fixed date string, the RetryAfter will always return number of seconds to wait - or zero if there was no header or the header couldn't be parsed.

Release notes

Blog Entries

Created 19th August 2020, last changed 19th August 2020


CURL.GetResultLength - CURL.GetSSLEngines

Feedback: Report problem or ask question.