> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HCHttpCallRequestGetRetryCacheId

> HCHttpCallRequestGetRetryCacheId

# HCHttpCallRequestGetRetryCacheId

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

## Syntax

```cpp theme={null}
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

## See also

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCHttpCallRequestSetRetryCacheId](/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrycacheid.md)
- [XblHttpCallRequestSetRetryCacheId](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid.md)
- [HCHttpCallRequestGetRetryDelay](/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretrydelay.md)
- [HCHttpCallRequestGetRetryAllowed](/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretryallowed.md)
- [HCHttpCallRequestSetRetryAllowed](/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretryallowed.md)
