@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface DiagnosisHttpCapture

    Wire-level capture of a single HTTP probe.

    interface DiagnosisHttpCapture {
        url: string;
        method: string;
        status: number;
        headers: Record<string, string>;
        body: unknown;
        error?: string;
    }
    Index

    Properties

    url: string
    method: string
    status: number

    0 if the request never left the client (DNS failure, SSRF refusal, …).

    headers: Record<string, string>

    Response headers with lowercased keys.

    body: unknown

    Parsed JSON body if content-type is JSON, raw text otherwise, or null on error.

    error?: string

    Client-side error message, if any.