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

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

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

Upgrade given TCP connection into websocket connection

Parameters

req: { conn: Deno.Conn; bufWriter: BufWriter; bufReader: BufReader; headers: Headers; }