Closes this connection, if it's alive, sending a websocket close message.
Gets the message handler that handles events for this connection.
Gets the WebSocketRequestHandler that owns this connection. Use this to interact with the set of connections managed by that handler.
Sends a binary message to the connected client.
Sends a close message to the client, indicating that we'll be closing the connection.
Sends a text message to the connected client.
The internal id assigned to this connection.
Stream for reading from the client.
Stream for writing to the client.
All the data that represents a WebSocket connection tracked by the WebSocketHandler.