Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/pogsocket/websocket/mod.ts

๐ŸŒ deno websocket client
Latest
import * as pogsocket from "https://deno.land/x/pogsocket@2.0.0/websocket/mod.ts";

Enums

Represents a websocket op code

Functions

Returns true if input headers are usable for WebSocket, otherwise false.

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.

Unmask masked websocket payload

Interfaces

Represents a websocket frame.