Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/socket_client/mod.ts>FrameData

A simple WebSocket client for Deno
Latest
interface FrameData
import { type FrameData } from "https://deno.land/x/socket_client@0.1.0-alpha.1/mod.ts";

Properties

fin: boolean

Indicates that this is the final fragment in a message

rsv1: boolean

Reversed for future use.

rsv2: boolean

Reversed for future use.

rsv3: boolean

Reversed for future use.

opcode: OpCode

The interpretation of the payload data.

masked: boolean

Whether the payload data is masked.

payloadLen: number

The length of the payload data.

optional
maskingKey: Uint8Array

The key used to mask all frames sent from the client to the websocket.