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

# HCHttpCallRequestGetNumHeaders

> HCHttpCallRequestGetNumHeaders

# HCHttpCallRequestGetNumHeaders

HTTP 呼び出しの要求ヘッダー数を取得します。

## 構文

```cpp theme={null}
HRESULT HCHttpCallRequestGetNumHeaders(  
         HCCallHandle call,  
         uint32_t* numHeaders  
)  
```

### パラメーター

*call*   \_In\_\
型: HCCallHandle

HTTP 呼び出しのハンドル。

*numHeaders*   \_Out\_\
型: uint32\_t\*

HTTP 呼び出しの要求ヘッダー数。

### 戻り値

型: 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

- [HCHttpCallRequestGetHeaderAtIndex](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheaderatindex.md)
- [httpProvider (目次)](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpprovider/httpprovider_members.md)
- [XblHttpCallGetNumHeaders](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnumheaders.md)
- [HCHttpCallResponseGetNumHeaders](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnumheaders.md)
- [HCHttpCallRequestGetHeader](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheader.md)
