Skip to main content

HCHttpCallRequestGetRetryCacheId

Gets the ID number of this REST endpoint used to cache the Retry-After header for fast fail.

Syntax

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

See also

httpProvider
Last modified on August 4, 2026