std@0.95.0/ws/mod.ts

Deno standard library
GitHub Stars
2260
Go to Latest

createWebSocket

import { createWebSocket } from "https://deno.land/std@0.95.0/ws/mod.ts";
function createWebSocket(params: {
conn: Deno.Conn;
bufWriter?: BufWriter;
bufReader?: BufReader;
mask?: Uint8Array;
}
): WebSocket;