Skip to main content

XblHttpCallRequestSetRetryCacheId

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

Syntax

Parameters

call   _In_
Type: XblHttpCallHandle
The handle of the HTTP call. Pass nullptr to set the default for future calls. retryAfterCacheId   _In_
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

This must be called prior to calling XblHttpCallPerformAsync.

Requirements

Header: http_call_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

http_call_c
Last modified on August 4, 2026