Skip to content
Lucent
Esc
↑↓navigate↵open

Packet

Alias of FlashPacket. The resolved members are listed below.

type Packet = {
    readonly command: string;
    readonly direction: "client";
    readonly params: readonly string[];
    readonly raw: string;
    readonly encoding: "string" | "json";
} | {
    readonly command: string;
    readonly data: unknown;
    readonly direction: "server";
    readonly raw: string;
    readonly encoding: "string" | "json";
} | {
    readonly command: string;
    readonly data: unknown;
    readonly direction: "extension";
    readonly raw: string;
    readonly encoding: "string" | "json";
}

Defined in Packet.ts:47

Type preview
Open page

Last updated on September 26, 2026

Was this page helpful?