Gets the WebSocket binary message fragment handler.
Syntax
HRESULT HCWebSocketGetBinaryMessageFragmentEventFunction(
HCWebsocketHandle websocket,
HCWebSocketBinaryMessageFragmentFunction* binaryMessageFragmentFunc,
void** functionContext
)
Parameters
websocket _In_
Type: HCWebsocketHandle
The handle of the websocket.
binaryMessageFragmentFunc _Out_
Type: HCWebSocketBinaryMessageFragmentFunction*
Returned binaryMessageFragmentFunc.
functionContext _Out_
Type: void**
Client context to pass to callback function.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, E_HC_NOT_INITIALISED, or E_FAIL.
Requirements
Header: httpClient.h
Library: libHttpClient.GDK.lib