function acceptWebSocketDeprecatedDeprecateduse Deno.upgradeWebSocket Upgrade inputted TCP connection into WebSocket connection. import { acceptWebSocket } from "https://dotland.deno.dev/std@0.116.0/ws/mod.ts"; acceptWebSocket(req: { conn: Deno.Conn; bufWriter: BufWriter; bufReader: BufReader; headers: Headers; }): Promise<WebSocket>Parametersreq: { conn: Deno.Conn; bufWriter: BufWriter; bufReader: BufReader; headers: Headers; }ReturnsPromise<WebSocket>