Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function connectWebSocket
import { connectWebSocket } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/ws/mod.ts";

Connect to given websocket endpoint url. Endpoint must be acceptable for URL.

Parameters

endpoint: string
optional
headers: Headers = [UNSUPPORTED]