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.2.4/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; }