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

x/aleph/std.ts>ws.handshake

The Full-stack Framework in Deno.
Go to Latest
function ws.handshake
import { ws } from "https://deno.land/x/aleph@v0.2.27/std.ts";
const { handshake } = ws;

Parameters

url: URL
headers: Headers
bufReader: BufReader
bufWriter: BufWriter

Returns

Promise<void>