cleaning & docs

This commit is contained in:
tiagosiebler
2020-12-26 17:51:15 +00:00
parent 96ef6427c3
commit 976ff20437
3 changed files with 10 additions and 15 deletions

View File

@@ -105,11 +105,6 @@ export class WebsocketClient extends EventEmitter {
const ws = new WebSocket(url);
// ws.onopen!(this._wsOpenHandler.bind(this));
// ws.onmessage!(this._wsMessageHandler.bind(this));
// ws.onerror!(this._wsOnErrorHandler.bind(this));
// ws.onclose!(this._wsCloseHandler.bind(this));
ws.onopen = this._wsOpenHandler.bind(this);
ws.onmessage = this._wsMessageHandler.bind(this);
ws.onerror = this._wsOnErrorHandler.bind(this);