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.3.1/vendor/https/deno.land/std/ws/mod.ts";

Upgrade inputted TCP connection into WebSocket connection.

Parameters

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