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

x/rsocket/deps.ts>connectWebSocket

🦕RSocket Deno module
Latest
function connectWebSocket
import { connectWebSocket } from "https://deno.land/x/rsocket@0.3.0/deps.ts";

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

Parameters

endpoint: string
optional
headers: Headers = [UNSUPPORTED]