summaryrefslogtreecommitdiff
path: root/ws/mod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ws/mod.ts')
-rw-r--r--ws/mod.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/ws/mod.ts b/ws/mod.ts
index d74e4a92b..946eb4bf4 100644
--- a/ws/mod.ts
+++ b/ws/mod.ts
@@ -474,7 +474,10 @@ async function handshake(
}
}
-/** Connect to given websocket endpoint url. Endpoint must be acceptable for URL */
+/**
+ * Connect to given websocket endpoint url.
+ * Endpoint must be acceptable for URL.
+ */
export async function connectWebSocket(
endpoint: string,
headers: Headers = new Headers()