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

HTTP 呼び出しが要求本文の読み取りに使用する関数を取得します。

## 構文

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

### パラメーター

*call*   \_In\_\
型: HCCallHandle

HTTP 呼び出しのハンドル。

*readFunction*   \_Out\_\
型: HCHttpCallRequestBodyReadFunction\*

この HTTP 呼び出しの読み取り関数。

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

本文のサイズ。

*context*   \_Out\_\
型: void\*\*

この読み取り関数に関連付けられたコンテキスト。

### 戻り値

型: HRESULT

この API 操作の結果コード。取り得る値は S\_OK、E\_INVALIDARG、または E\_FAIL です。

## 要件

**ヘッダー:** httpProvider.h

**ライブラリ:** libHttpClient.GDK.lib

## 関連項目

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

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