> ## 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 ID deste ponto de extremidade REST usado para armazenar em cache o cabeçalho Retry-After para falha rápida.

## Sintaxe

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

### Parâmetros

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

O identificador da chamada HTTP. Passe nullptr para definir o padrão para chamadas futuras.

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

Número de ID deste ponto de extremidade REST usado para armazenar em cache o cabeçalho Retry-After para falha rápida. Os valores 1-1000 são reservados para o XSAPI.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_INVALIDARG ou E\_FAIL.

## Comentários

Isso deve ser chamado antes de chamar [XblHttpCallPerformAsync](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync).

## Requisitos

**Cabeçalho:** http\_call\_c.h

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

## Confira também

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


## Related topics

- [XblHttpCallRequestSetRetryCacheId](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid.md)
- [HTTP and WebSocket web requests in the GDK](/build/console-features/networking/web-requests/http-networking.md)
- [HCHttpCallRequestSetRetryCacheId](/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrycacheid.md)
