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

# 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](/fr-CA/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

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](/fr-CA/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync), 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](/fr-CA/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [XblHttpCallGetNumHeaders](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnumheaders.md)
- [XblHttpCallGetHeaderAtIndex](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md)
