Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/socket_client/src/frame.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/src/frame.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.