kkrpc
    Preparing search index...

    Interface RPCRequestContext

    Shared request state before the local handler is invoked.

    interface RPCRequestContext {
        args: unknown[];
        id: string;
        meta?: RPCMessageMetadata;
        method: string;
        operation: RPCOperation;
        path: string[];
        state: Record<string, unknown>;
        value?: unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    args: unknown[]

    Decoded request arguments.

    id: string

    Request id.

    Protocol-level metadata attached to the incoming request.

    method: string

    Dot-joined path, useful for logging and validation lookup.

    operation: RPCOperation

    Operation being handled.

    path: string[]

    Property path on the exposed local API.

    state: Record<string, unknown>

    Per-request state shared across plugin hooks.

    value?: unknown

    Decoded setter value, present for set operations.