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

Définit si les nouvelles tentatives sont autorisées pour cet appel HTTP.

## Syntaxe

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

### Paramètres

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

Handle de l'appel HTTP. Passez nullptr pour définir la valeur par défaut des appels futurs.

*retryAllowed*   \_In\_\
Type : bool

Indique si les nouvelles tentatives sont autorisées pour cet appel HTTP.

### Valeur de retour

Type : HRESULT

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

## Remarques

La valeur par défaut est true. Cette fonction doit être appelée avant l'appel de [XblHttpCallPerformAsync](/fr-CA/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync).

## Configuration requise

**En-tête :** http\_call\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

[http\_call\_c](/fr-CA/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)
- [HCHttpCallRequestGetRetryAllowed](/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretryallowed.md)
- [XblHttpCallRequestSetRetryCacheId](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid.md)
