@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Type Alias TransportActivityType

    TransportActivityType:
        | "request_started"
        | "response_received"
        | "response_completed"
        | "request_failed"

    Lifecycle events for one transport request.

    • request_started: the request is about to be sent.
    • response_received: response headers arrived. For captured bodies, dispatch waits for the bounded preview. Its durationMs is time to headers, not time to completion; it does not mean the reply finished.
    • response_completed: the caller finished with a response body that was not captured (SSE, no finite declared length, non-text, or over the capture limit). Emitted at most once, with an outcome, total bytes and total durationMs.
    • request_failed: the request failed before response headers arrived.