property RealtimeFrame.data

The payload, always a string.

A WebSocket binary frame is base64-encoded and flagged by RealtimeFrame.binary; an SSE message is its JSON encoding.

Type

string

Usage

import { type RealtimeFrame } from "common/src/index.ts";