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

Obtient la fonction utilisée par l'appel HTTP pour lire le corps de la requête

## Syntaxe

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

### Paramètres

*call*   \_In\_\
Type : HCCallHandle

Le handle de l'appel HTTP.

*readFunction*   \_Out\_\
Type : HCHttpCallRequestBodyReadFunction\*

La fonction de lecture de cet appel HTTP.

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

La taille du corps.

*context*   \_Out\_\
Type : void\*\*

Le contexte associé à cette fonction de lecture.

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

## Configuration requise

**En-tête :** httpProvider.h

**Bibliothèque :** libHttpClient.GDK.lib

## Voir aussi

[httpProvider](/fr-CA/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

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