function readFrameDeprecatedDeprecateduse Deno.upgradeWebSocket Read websocket frame from given BufReader import { readFrame } from "https://dotland.deno.dev/std@0.110.0/ws/mod.ts"; readFrame(buf: BufReader): Promise<WebSocketFrame>Parametersbuf: BufReaderReturnsPromise<WebSocketFrame>