> ## 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.

# XblHttpCallRequestSetRetryCacheId

> XblHttpCallRequestSetRetryCacheId

# XblHttpCallRequestSetRetryCacheId

Número de identificador de este punto de conexión REST que se usa para almacenar en caché el encabezado Retry-After para el error rápido.

## Sintaxis

```cpp theme={null}
HRESULT XblHttpCallRequestSetRetryCacheId(  
         XblHttpCallHandle call,  
         uint32_t retryAfterCacheId  
)  
```

### Parámetros

*call*   \_In\_\
Tipo: [XblHttpCallHandle](/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

El identificador de la llamada HTTP. Pase nullptr para establecer el valor predeterminado para llamadas futuras.

*retryAfterCacheId*   \_In\_\
Tipo: uint32\_t

Número de identificador de este punto de conexión REST que se usa para almacenar en caché el encabezado Retry-After para el error rápido. Los valores 1-1000 están reservados para XSAPI.

### Valor devuelto

Tipo: HRESULT

Código de resultado para esta operación de API. Los valores posibles son S\_OK, E\_INVALIDARG o E\_FAIL.

## Comentarios

Se debe llamar a esto antes de llamar a [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync).

## Requisitos

**Encabezado:** http\_call\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Consulte también

[http\_call\_c](/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [HCHttpCallRequestSetRetryCacheId](/es/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrycacheid.md)
- [HCHttpCallRequestGetRetryCacheId](/es/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretrycacheid.md)
- [XblHttpCallRequestSetRetryAllowed](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretryallowed.md)
- [HCHttpCallRequestSetRetryAllowed](/es/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretryallowed.md)
- [HCHttpCallRequestSetRetryDelay](/es/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrydelay.md)
