import * as mod from "https://dotland.deno.dev/std@0.38.0/ws/mod.ts"; EnumsEOpCodeFunctionsfacceptableReturn whether given headers is acceptable for websocket facceptWebSocketUpgrade given TCP connection into websocket connection fconnectWebSocketConnect to given websocket endpoint url. Endpoint must be acceptable for URL. fcreateSecAcceptCreate sec-websocket-accept header value with given nonce fcreateSecKeyCreate WebSocket-Sec-Key. Base64 encoded 16 bytes string fcreateWebSocketfhandshakefisWebSocketCloseEventfisWebSocketPingEventfisWebSocketPongEventfreadFrameRead websocket frame from given BufReader funmaskUnmask masked websocket payload fwriteFrameWrite websocket frame to given writer InterfacesIWebSocketIWebSocketCloseEventIWebSocketFrameType AliasesTWebSocketEventTWebSocketMessageTWebSocketPingEventTWebSocketPongEvent