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

# HCHttpCallRequestGetNumHeaders

> HCHttpCallRequestGetNumHeaders

# HCHttpCallRequestGetNumHeaders

Obtém o número de cabeçalhos de solicitação na chamada HTTP.

## Sintaxe

```cpp theme={null}
HRESULT HCHttpCallRequestGetNumHeaders(  
         HCCallHandle call,  
         uint32_t* numHeaders  
)  
```

### Parâmetros

*call*   \_In\_\
Tipo: HCCallHandle

O identificador da chamada HTTP.

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

o número de cabeçalhos de solicitação na chamada HTTP.

### Valor retornado

Tipo: HRESULT

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

## Requisitos

**Cabeçalho:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Confira também

[httpProvider](/pt-BR/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCHttpCallRequestGetHeaderAtIndex](/pt-BR/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheaderatindex.md)
- [XblHttpCallGetNumHeaders](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnumheaders.md)
- [HCHttpCallResponseGetNumHeaders](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnumheaders.md)
- [XblHttpCallGetHeaderAtIndex](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md)
- [HCHttpCallResponseGetHeaderAtIndex](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetheaderatindex.md)
