fix(socket client) missing id wrapper method
This commit is contained in:
@@ -24,4 +24,12 @@ export default class SocketClient {
|
||||
|
||||
this.#ws.send(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the unique client id.
|
||||
* @returns {string} - the unique client id
|
||||
*/
|
||||
id() {
|
||||
return this.#id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user