use protocols

This commit is contained in:
Spencer Pogorzelski 2023-08-13 17:55:54 -07:00
parent 296288467b
commit d330c9346e

View file

@ -76,7 +76,7 @@ export class AdriftBareClient extends Client {
onReadyState: ReadyStateCallback,
webSocketImpl: WebSocketImpl
): WebSocket {
const ws = new webSocketImpl("ws:null");
const ws = new webSocketImpl("ws:null", protocols);
// this will error. that's okay
let send = this.connection.wsconnect(