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

# HCWebSocketGetNumHeaders

> HCWebSocketGetNumHeaders

# HCWebSocketGetNumHeaders

WebSocket의 헤더 수를 가져옵니다.

## Syntax

```cpp theme={null}
HRESULT HCWebSocketGetNumHeaders(  
         HCWebsocketHandle websocket,  
         uint32_t* numHeaders  
)  
```

### Parameters

*websocket*   \_In\_\
Type: HCWebsocketHandle

WebSocket의 핸들입니다.

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

WebSocket의 헤더 수입니다.

### Return value

Type: HRESULT

이 API 작업의 결과 코드입니다. 가능한 값은 S\_OK, E\_INVALIDARG 또는 E\_FAIL입니다.

## Requirements

**Header:** httpProvider.h

**Library:** libHttpClient.GDK.lib

## See also

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


## Related topics

- [HCWebSocketGetHeaderAtIndex](/ko/reference/live/httpclient/httpprovider/functions/hcwebsocketgetheaderatindex.md)
- [HCWebSocketGetHeader](/ko/reference/live/httpclient/httpprovider/functions/hcwebsocketgetheader.md)
- [HCWebSocketSetHeader](/ko/reference/live/httpclient/httpclient/functions/hcwebsocketsetheader.md)
- [HCGetWebSocketFunctions](/ko/reference/live/httpclient/httpprovider/functions/hcgetwebsocketfunctions.md)
- [HCWebSocketGetProxyUri](/ko/reference/live/httpclient/httpprovider/functions/hcwebsocketgetproxyuri.md)
