Zen API
|
kStatus kWebSocket_Close | ( | kWebSocket | webSocket | ) |
Closes the WebSocket connection.
Use of this method is optional. Websockets can technically be closed by destroying the underlying TCP client. The Close method (which implements a closing handshake) is recommended in RFC 6455 to achieve a "clean" close.
webSocket | WebSocket object. |