Disconnects the given connection.
Finds the websocket connection with the given id.
Finds the websocket connection with the given user id.
Gets all currently active connections.
Adds the given connection to the channel with the given id.
Removes the given connection from the channel with the given id.
Registers a websocket controller that listens to events.
Sends a message to a single connection.
Sends a message to all connections.
Sends a message to a single channel.
Default implementation for handling websockets. Uses socket.io under the hood.