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

# HCHttpCallRequestSetSSLValidation

> HCHttpCallRequestSetSSLValidation

# HCHttpCallRequestSetSSLValidation

Active ou désactive la validation du certificat de serveur SSL pour cet appel HTTP spécifique.

## Syntaxe

```cpp theme={null}
HRESULT HCHttpCallRequestSetSSLValidation(  
         HCCallHandle call,  
         bool sslValidation  
)  
```

### Paramètres

*call*   \_In\_\
Type : HCCallHandle

Handle de l'appel HTTP.

*sslValidation*   \_In\_\
Type : bool

Valeur booléenne indiquant s'il faut activer ou désactiver la validation du certificat pour l'appel HTTP.

### Valeur renvoyée

Type : HRESULT

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

## Remarques

Implémenté uniquement pour Win32. Non disponible dans le GDK. La valeur par défaut est true. Facultatif, à appeler avant d'appeler HCHttpCallPerformAsync.

## Configuration requise

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

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

## Voir aussi

[httpClient](/fr/reference/live/httpclient/httpclient/httpclient_members)


## Related topics

- [XblHttpCallRequestSetLongHttpCall](/fr/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall.md)
- [HCHttpCallRequestSetHeader](/fr/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetheader.md)
- [HCHttpCallRequestSetTimeout](/fr/reference/live/httpclient/httpclient/functions/hchttpcallrequestsettimeout.md)
- [HCHttpCallRequestSetUrl](/fr/reference/live/httpclient/httpclient/functions/hchttpcallrequestseturl.md)
- [HCHttpCallRequestSetRequestBodyBytes](/fr/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodybytes.md)
