Callback method for when the connection is closed.
the calling server
the connection information
Callback method for when the client intends to establish a websocket connection, before websocket handshake.
the calling server
the connection information
true to keep socket open, false to close it
Callback method for when a data frame has been received from the client.
the calling server
the connection information
websocket opcode (decoded from bits)
indicates that this is the final fragment in a message. The first fragment MAY also be the final fragment. (decoded from bits)
payload, with mask (if any) already applied.
first byte of the websocket frame, see websocket RFC at http://tools.ietf.org/html/rfc6455, section 5.2
true to keep socket open, false to close it
Callback method for when websocket handshake is successfully completed, and connection is ready for data exchange.
the calling server
the connection information
Generated using TypeDoc
Basic interface for a websocket handler. Handlers implementations must be reentrant.