Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/abc/vendor/https/deno.land/std/ws/mod.ts>connectWebSocket

A better Deno framework to create web application.
Go to Latest
function connectWebSocket
import { connectWebSocket } from "https://deno.land/x/abc@v1.0.3/vendor/https/deno.land/std/ws/mod.ts";

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

Parameters

endpoint: string
optional
headers: Headers = [UNSUPPORTED]