std@0.95.0/ws/mod.ts

Deno standard library
GitHub Stars
2260
Go to Latest

readFrame

import { readFrame } from "https://deno.land/std@0.95.0/ws/mod.ts";

Read websocket frame from given BufReader

async function readFrame(buf: BufReader): Promise<WebSocketFrame>;