kkrpc
    Preparing search index...

    Module inspector

    Published kkrpc/inspector entry for observability helpers.

    Inspectors observe RPC plugin hooks and write normalized message events to one or more backends. Use MemoryBackend in tests, consoleBackend() during local debugging, or provide a custom backend for telemetry pipelines.

    import { createInspector } from "kkrpc/inspector"

    const inspector = createInspector()
    expose(api, transport, { plugins: [inspector.plugin("server")] })

    Classes

    KKRPCInspector
    MemoryBackend

    Interfaces

    InspectEvent
    InspectorBackend
    InspectorConfig
    InspectorOptions
    InspectorStats
    MemoryBackendQuery

    Functions

    consoleBackend
    createInspector
    inspectorPlugin