Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disconnects / closes the WebSocket.
Syntax
HRESULT HCWebSocketDisconnect(
HCWebsocketHandle websocket
)
Parameters
websocket _In_
Type: HCWebsocketHandle
Handle to the WebSocket.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.
Requirements
Header: httpClient.h
Library: libHttpClient.GDK.lib