ReadonlyidentifierA unique identifier for this connection (UUID string).
Close the WebSocket connection to the client. Sends a WebSocket close frame and cancels the underlying TCP connection.
Destroy this connection object, releasing all resources.
Send a text message to the connected WebSocket client.
The text message to send.
A WebSocket connection to a single client, passed to the callback registered with
server.setWebSocketCallback(). Usesend()to push messages to the connected client andclose()to end the connection. Do not instantiateHSWebSocketConnectiondirectly — it is created by the server when a client performs a WebSocket upgrade.