Interface RawPassthroughDataEvent

interface RawPassthroughDataEvent {
    content: Uint8Array;
    direction: "sent" | "received";
    eventTimestamp: number;
    id: string;
}

Properties

content: Uint8Array

The contents of the message as a raw buffer.

direction: "sent" | "received"

The direction of the message, from the downstream perspective (received from the client, or sent back to the client).

eventTimestamp: number

A high-precision floating-point monotonically increasing timestamp. Comparable and precise, but not related to specific current time.

To link this to the current time, compare it to timingEvents.startTime.

id: string

The id of the passthrough tunnel.