this.conn = new WebSocket(socketUrl + "/?sid=" + this.myid + "&page=" + variant.id);
const socketCloseListener = () => {
this.conn = new WebSocket(socketUrl + "/?sid=" + this.myid + "&page=" + variant.id);
}
this.conn.onclose = socketCloseListener;
this.conn = new WebSocket(socketUrl + "/?sid=" + this.myid + "&page=" + variant.id);
const socketCloseListener = () => {
this.conn = new WebSocket(socketUrl + "/?sid=" + this.myid + "&page=" + variant.id);
}
this.conn.onclose = socketCloseListener;