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

# HCHttpCallRequestGetHeader

> HCHttpCallRequestGetHeader

# HCHttpCallRequestGetHeader

Obtém um cabeçalho de solicitação da chamada HTTP para um determinado nome de cabeçalho.

## Sintaxe

```cpp theme={null}
HRESULT HCHttpCallRequestGetHeader(  
         HCCallHandle call,  
         const char* headerName,  
         const char** headerValue  
)  
```

### Parâmetros

*call*   \_In\_\
Tipo: HCCallHandle

O identificador da chamada HTTP

*headerName*   \_In\_z\_\
Tipo: char\*

Nome do cabeçalho de solicitação codificado em UTF-8 da chamada HTTP.

*headerValue*   \_Out\_\
Tipo: char\*\*

Valor do cabeçalho de solicitação codificado em UTF-8 da 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)
- [HCHttpCallRequestGetNumHeaders](/pt-BR/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetnumheaders.md)
- [HCHttpCallRequestSetHeader](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetheader.md)
- [XblHttpCallRequestSetHeader](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetheader.md)
- [XblHttpCallGetHeader](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheader.md)
