Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the ID number of this REST endpoint used to cache the Retry-After header for fast fail.
Syntax
HRESULT HCHttpCallRequestGetRetryCacheId(
HCCallHandle call,
uint32_t* retryAfterCacheId
)
Parameters
call _In_
Type: HCCallHandle
The handle of the HTTP call. Pass nullptr to get the default for future calls.
retryAfterCacheId _Out_
Type: uint32_t*
ID number of this REST endpoint used to cache the Retry-After header for fast fail. 1-1000 are reserved for XSAPI.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.
Remarks
Defaults is 0.
Requirements
Header: httpProvider.h
Library: libHttpClient.GDK.lib