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://dotland.deno.dev/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; }