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

# 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](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCHttpCallRequestGetHeaderAtIndex](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheaderatindex.md)
- [XblHttpCallGetNumHeaders](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnumheaders.md)
- [HCHttpCallResponseGetNumHeaders](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnumheaders.md)
- [HCHttpCallRequestGetHeader](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheader.md)
- [XblHttpCallGetHeaderAtIndex](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md)
