diff options
Diffstat (limited to 'remote/shared/WebSocketConnection.sys.mjs')
-rw-r--r-- | remote/shared/WebSocketConnection.sys.mjs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/remote/shared/WebSocketConnection.sys.mjs b/remote/shared/WebSocketConnection.sys.mjs index c9ef050dc5..57b533fffb 100644 --- a/remote/shared/WebSocketConnection.sys.mjs +++ b/remote/shared/WebSocketConnection.sys.mjs @@ -85,11 +85,8 @@ export class WebSocketConnection { * Register a new Session to forward the messages to. * * Needs to be implemented in the sub class. - * - * @param {Session} session - * The session to register. */ - registerSession(session) { + registerSession() { throw new Error("Not implemented"); } @@ -140,7 +137,7 @@ export class WebSocketConnection { /** * Called by the `transport` when the connection is closed. */ - onConnectionClose(status) { + onConnectionClose() { lazy.logger.debug(`${this.constructor.name} ${this.id} closed`); } |