JadeWebSocket Methods
The methods defined in the JadeWebSocket class are summarized in the following table.
Method | Description |
---|---|
onClose | Called when the WebSocket is closed |
onMsg | Called when the WebSocket receives a message from the client side of the connection |
onOpen | Called when the WebSocket is opened from the client side of the connection |
send | Sends a binary message via the WebSocket connection |
sendText |
Sends a UTF8‑encoded message via the WebSocket connection |
2018.0.01 and higher