> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HCHttpCallRequestGetHeader

> HCHttpCallRequestGetHeader

# HCHttpCallRequestGetHeader

指定されたヘッダー名に対する HTTP 呼び出しの要求ヘッダーを取得します。

## 構文

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

### パラメーター

*call*   \_In\_\
型: HCCallHandle

HTTP 呼び出しのハンドル

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

HTTP 呼び出しの UTF-8 エンコードされた要求ヘッダー名。

*headerValue*   \_Out\_\
型: char\*\*

HTTP 呼び出しの UTF-8 エンコードされた要求ヘッダー値。

### 戻り値

型: HRESULT

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

## 要件

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

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

## 関連項目

[httpProvider](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpprovider/httpprovider_members.md)


## Related topics

- [httpProvider (目次)](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpprovider/httpprovider_members.md)
- [HCHttpCallRequestGetHeaderAtIndex](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheaderatindex.md)
- [HCHttpCallRequestGetNumHeaders](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetnumheaders.md)
- [HCHttpCallRequestSetHeader](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetheader.md)
- [XblHttpCallRequestSetHeader](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetheader.md)
