Skip to main content

HCGetWebSocketFunctions

Gets the functions that implement the WebSocket functions.

Syntax

Parameters

websocketConnectFunc   _Out_
Type: HCWebSocketConnectFunction*
A callback that implements WebSocket connect function as desired. websocketSendMessageFunc   _Out_
Type: HCWebSocketSendMessageFunction*
A callback that implements WebSocket send message function as desired. websocketSendBinaryMessageFunc   _Out_
Type: HCWebSocketSendBinaryMessageFunction*
A callback that implements WebSocket send binary message function as desired. websocketDisconnectFunc   _Out_
Type: HCWebSocketDisconnectFunction*
A callback that implements WebSocket disconnect function as desired. context   _Out_
Type: void**
The context pointer for the callbacks.

Return value

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

Requirements

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

See also

httpProvider
Last modified on August 4, 2026