import { Frame } from "https://deno.land/x/socket_client@0.1.0-alpha.1/src/frame.ts";
Constructors
new
Frame(data: FrameData)Properties
The key used to mask all frames sent from the client to the websocket.
opcode: OpCode
The interpretation of the payload data.
Methods
readPayload(reader: BufReader)
Read the payload data from the websocket.
validate()
Check if the frame data is valid.