Basic definition of a websocket connection. Your implementation probably needs to extend this.
Readonly
The id of the connection.
The current offset of the connection. Is used to sync the state of the server with the client after a reconnect.
The id of the user that this connection belongs to.
Basic definition of a websocket connection. Your implementation probably needs to extend this.