mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 06:10:01 -04:00
use protocols
This commit is contained in:
parent
296288467b
commit
d330c9346e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ export class AdriftBareClient extends Client {
|
||||||
onReadyState: ReadyStateCallback,
|
onReadyState: ReadyStateCallback,
|
||||||
webSocketImpl: WebSocketImpl
|
webSocketImpl: WebSocketImpl
|
||||||
): WebSocket {
|
): WebSocket {
|
||||||
const ws = new webSocketImpl("ws:null");
|
const ws = new webSocketImpl("ws:null", protocols);
|
||||||
// this will error. that's okay
|
// this will error. that's okay
|
||||||
|
|
||||||
let send = this.connection.wsconnect(
|
let send = this.connection.wsconnect(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue