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

# XblHttpCallRequestSetRequestBodyBytes

> XblHttpCallRequestSetRequestBodyBytes

# XblHttpCallRequestSetRequestBodyBytes

HTTP 呼び出しのリクエスト本文のバイト列を設定します。

## 構文

```cpp theme={null}
HRESULT XblHttpCallRequestSetRequestBodyBytes(  
         XblHttpCallHandle call,  
         const uint8_t* requestBodyBytes,  
         uint32_t requestBodySize  
)  
```

### パラメーター

*call*   \_In\_\
型: [XblHttpCallHandle](/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

HTTP 呼び出しのハンドル。

*requestBodyBytes*   \_In\_reads\_bytes\_(requestBodySize)\
型: uint8\_t\*

HTTP 呼び出しのリクエスト本文のバイト列。

*requestBodySize*   \_In\_\
型: uint32\_t

設定される本文のバイト単位の長さ。

### 戻り値

型: HRESULT

この API 操作の結果コード。有効な値は S\_OK、E\_INVALIDARG、E\_OUTOFMEMORY、または E\_FAIL です。

## 解説

これは、[XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) を呼び出す前に呼び出す必要があります。

## 要件

**ヘッダー:** http\_call\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

[http\_call\_c](/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

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