> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblHttpCallGetNumHeaders

> XblHttpCallGetNumHeaders

# XblHttpCallGetNumHeaders

Obtient le nombre d'en-têtes de réponse de l'appel HTTP.

## Syntaxe

```cpp theme={null}
HRESULT XblHttpCallGetNumHeaders(  
         XblHttpCallHandle call,  
         uint32_t* numHeaders  
)  
```

### Paramètres

*call*   \_In\_\
Type : [XblHttpCallHandle](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle.md)

Handle de l'appel HTTP.

*numHeaders*   \_Out\_\
Type : uint32\_t\*

Nombre d'en-têtes de réponse de l'appel HTTP.

### Valeur de retour

Type : HRESULT

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

## Remarques

Cette fonction ne peut être appelée qu'après l'appel de [XblHttpCallPerformAsync](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync.md), une fois la tâche HTTP terminée.

## Configuration requise

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

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

## Voir aussi

[http\_call\_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/http_call_c/http_call_c_members.md)


## Related topics

- [XblHttpCallGetHeaderAtIndex](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md)
- [http_call_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/http_call_c/http_call_c_members.md)
- [Vue d'ensemble des requêtes web](https://docs.xbox.com/fr-CA/build/console-features/networking/web-requests/http-networking.md)
- [HCHttpCallResponseGetNumHeaders](https://docs.xbox.com/fr-CA/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnumheaders.md)
- [HCHttpCallRequestGetNumHeaders](https://docs.xbox.com/fr-CA/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetnumheaders.md)
