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

# HCHttpCallRequestGetRetryCacheId

> HCHttpCallRequestGetRetryCacheId

# HCHttpCallRequestGetRetryCacheId

Obtient le numéro d'identification de ce point de terminaison REST, utilisé pour mettre en cache l'en-tête Retry-After afin d'échouer rapidement.

## Syntaxe

```cpp theme={null}
HRESULT HCHttpCallRequestGetRetryCacheId(  
         HCCallHandle call,  
         uint32_t* retryAfterCacheId  
)  
```

### Paramètres

*call*   \_In\_\
Type : HCCallHandle

Le handle de l'appel HTTP. Passez nullptr pour obtenir la valeur par défaut des appels futurs.

*retryAfterCacheId*   \_Out\_\
Type : uint32\_t\*

Numéro d'identification de ce point de terminaison REST, utilisé pour mettre en cache l'en-tête Retry-After afin d'échouer rapidement. Les valeurs 1 à 1000 sont réservées à XSAPI.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API. Les valeurs possibles sont S\_OK, E\_INVALIDARG ou E\_FAIL.

## Remarques

La valeur par défaut est 0.

## Configuration requise

**En-tête :** httpProvider.h

**Bibliothèque :** libHttpClient.GDK.lib

## Voir aussi

[httpProvider](https://docs.xbox.com/fr-CA/reference/live/httpclient/httpprovider/httpprovider_members.md)


## Related topics

- [httpProvider (contenu)](https://docs.xbox.com/fr-CA/reference/live/httpclient/httpprovider/httpprovider_members.md)
- [HCHttpCallRequestSetRetryCacheId](https://docs.xbox.com/fr-CA/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrycacheid.md)
- [XblHttpCallRequestSetRetryCacheId](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid.md)
- [HCHttpCallRequestGetRetryDelay](https://docs.xbox.com/fr-CA/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretrydelay.md)
- [HCHttpCallRequestGetRetryAllowed](https://docs.xbox.com/fr-CA/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretryallowed.md)
