Skip to main content

HCWebSocketGetNumHeaders

Gets the number of headers in the WebSocket.

Syntax

Parameters

websocket   _In_
Type: HCWebsocketHandle
The handle of the WebSocket. numHeaders   _Out_
Type: uint32_t*
the number of headers in the WebSocket.

Return value

Type: HRESULT Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.

Requirements

Header: httpProvider.h Library: libHttpClient.GDK.lib

See also

httpProvider
Last modified on August 4, 2026