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

# XblHttpCallRequestSetRetryAllowed

> XblHttpCallRequestSetRetryAllowed

# XblHttpCallRequestSetRetryAllowed

Define se a repetição é permitida para esta chamada HTTP.

## Sintaxe

```cpp theme={null}
HRESULT XblHttpCallRequestSetRetryAllowed(  
         XblHttpCallHandle call,  
         bool retryAllowed  
)  
```

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

*retryAllowed*   \_In\_\
Tipo: bool

Se a repetição é permitida para esta chamada HTTP.

### Valor retornado

Tipo: HRESULT

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

## Comentários

O padrão é true. 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

- [XblHttpCallRequestSetRetryAllowed](/ko/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretryallowed.md)
- [HTTP and WebSocket web requests in the GDK](/build/console-features/networking/web-requests/http-networking.md)
- [HCHttpCallRequestSetRetryAllowed](/es/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretryallowed.md)
