fix(socket client) missing id wrapper method

This commit is contained in:
gh0sTedBuddy
2024-04-08 01:32:04 +01:00
parent ad777b2ec2
commit aeeddb8bb3

View File

@@ -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;
}
}