Open alxgh opened 3 years ago
While attempting to connect using the
ws
client I encountered this error:tinode.service.ts:45 DOMException: Failed to construct 'WebSocket': The subprotocol '[object Object]' is invalid
t = new Tinode("", "", {...}); t.connect()
ws-connection.ts const conn: WebSocket = new NetworkProviders.WebSocket(url, { rejectUnauthorized: false, }) eliminate the second parameter, and try again
While attempting to connect using the
ws
client I encountered this error: