mcpwn API
    Preparing search index...

    Interface FlowMessage

    A message annotated with direction + correlation for logging/rules.

    interface FlowMessage {
        correlatedMethod?: string;
        direction: Direction;
        id?: string | number | null;
        json?: any;
        kind: MessageKind;
        method?: string;
        raw: string;
        ts: number;
    }

    Hierarchy (View Summary)

    Index
    correlatedMethod?: string

    Method resolved via correlation when the message itself lacks one.

    direction: Direction
    id?: string | number | null

    Present on requests, responses, and errors.

    json?: any

    Parsed JSON value, or undefined if the line was not valid JSON.

    method?: string

    Present on requests and notifications. For responses we fill this in from the correlator (responses carry no method on the wire).

    raw: string
    ts: number