mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-15 07:10:00 -04:00
slightly edit types
This commit is contained in:
parent
fb8fe1d306
commit
b4c7ac361b
1 changed files with 3 additions and 3 deletions
|
@ -135,9 +135,9 @@ export class BareClient {
|
||||||
createWebSocket(
|
createWebSocket(
|
||||||
remote: string | URL,
|
remote: string | URL,
|
||||||
protocols: string | string[] | undefined = [],
|
protocols: string | string[] | undefined = [],
|
||||||
webSocketImpl: WebSocketImpl,
|
webSocketImpl?: WebSocketImpl,
|
||||||
requestHeaders: BareHeaders,
|
requestHeaders?: BareHeaders,
|
||||||
arrayBufferImpl: typeof ArrayBuffer,
|
arrayBufferImpl?: typeof ArrayBuffer,
|
||||||
): WebSocket {
|
): WebSocket {
|
||||||
try {
|
try {
|
||||||
remote = new URL(remote);
|
remote = new URL(remote);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue