Generate random 4bytes mask key
Get the IOState of the connection.
The policy that the connection is running under.
Get the websocket upgrade request.
Get the websocket upgrade response.
Get the read/write idle timeout.
Send binary message.
Send binary message.
Send text message.
A frame, and optional callback, intended for the network layer. <p> Note: the frame can undergo many transformations in the various layers and extensions present in the implementation. <p> If you are implementing a mutation, you are obliged to handle the incoming WriteCallback appropriately.
Returns the value of the user-defined attribute of this connection.
Sets a user-defined attribute.
Removes a user-defined attribute with the specified key.
@param key The key of the attribute we are looking for in the connection @return <tt>true</tt> if this connection contains the attribute with the specified <tt>key</tt>.