Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


CURL.GetResultLength - CURL.GetSSLEngines