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

# HCHttpCallRequestGetRequestBodyReadFunction

> HCHttpCallRequestGetRequestBodyReadFunction

# HCHttpCallRequestGetRequestBodyReadFunction

Obtém a função usada pela chamada HTTP para ler o corpo da solicitação

## Sintaxe

```cpp theme={null}
HRESULT HCHttpCallRequestGetRequestBodyReadFunction(  
         HCCallHandle call,  
         HCHttpCallRequestBodyReadFunction* readFunction,  
         size_t* bodySize,  
         void** context  
)  
```

### Parâmetros

*call*   \_In\_\
Tipo: HCCallHandle

O identificador da chamada HTTP.

*readFunction*   \_Out\_\
Tipo: HCHttpCallRequestBodyReadFunction\*

A função de leitura desta chamada HTTP.

*bodySize*   \_Out\_\
Tipo: size\_t\*

O tamanho do corpo.

*context*   \_Out\_\
Tipo: void\*\*

O contexto associado a esta função de leitura.

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

- [HCHttpCallRequestSetRequestBodyReadFunction](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodyreadfunction.md)
- [HCHttpCallRequestSetRequestBodyBytes](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodybytes.md)
- [HCHttpCallRequestSetRequestBodyString](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodystring.md)
- [XblHttpCallRequestSetRequestBodyBytes](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodybytes.md)
- [HCHttpCallRequestGetRequestBodyBytes](/pt-BR/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetrequestbodybytes.md)
