import * as pogsocket from "https://deno.land/x/pogsocket@2.0.0/mod.ts";
Functions
Returns true if input headers are usable for WebSocket, otherwise false. | |
Closes the provided pogsocket with a code and/or reason. | |
Closes the connection of the supplied pogsocket, only for internal use. | |
Creates a mask of n-byte length. | |
Create value of Sec-WebSocket-Accept header from inputted nonce. | |
Returns base64 encoded 16 bytes string for Sec-WebSocket-Key header. | |
Whether a websocket message is binary. | |
Sends a message to the server. | |
Unmask masked websocket payload | |
Interfaces
Represents a websocket frame. |