namespace wsimport { ws } from "https://dotland.deno.dev/x/aleph@v0.2.13/std.ts"; EnumsEws.OpCodeFunctionsfws.acceptableReturn whether given headers is acceptable for websocket fws.acceptWebSocketUpgrade given TCP connection into websocket connection fws.createSecAcceptCreate sec-websocket-accept header value with given nonce fws.createSecKeyCreate WebSocket-Sec-Key. Base64 encoded 16 bytes string fws.createWebSocketfws.handshakefws.isWebSocketCloseEventfws.isWebSocketPingEventfws.isWebSocketPongEventfws.readFrameRead websocket frame from given BufReader fws.unmaskUnmask masked websocket payload fws.writeFrameWrite websocket frame to given writer InterfacesIws.WebSocketIws.WebSocketCloseEventIws.WebSocketFrameType AliasesTws.WebSocketEventTws.WebSocketMessageTws.WebSocketPingEventTws.WebSocketPongEvent