Compartir a través de


HCWebSocketGetNumHeaders

Gets the number of headers in the WebSocket.

Syntax

HRESULT HCWebSocketGetNumHeaders(  
         HCWebsocketHandle websocket,  
         uint32_t* numHeaders  
)  

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