This is a listener for web socket connections.
It wraps the Websocket.Server in a more convenient interface.
Creates the listener.
Event is emitted on incoming connections.
Event is emitted when the state of the connector changes. The listener callback will be called in order to have access from outside to the errors that occur on the web socket level.
Start the web socket listener.
The host to listen on
The port to listen on
Stops the listener
This is a listener for web socket connections.
It wraps the Websocket.Server in a more convenient interface.