@adcp/sdk API Reference - v10.0.1
    Preparing search index...

    Interface SsrfFetchOptions

    interface SsrfFetchOptions {
        method?: string;
        headers?: Record<string, string>;
        body?: string | Uint8Array<ArrayBufferLike>;
        allowPrivateIp?: boolean;
        timeoutMs?: number;
        maxBodyBytes?: number;
        signal?: AbortSignal;
    }
    Index

    Properties

    method?: string
    headers?: Record<string, string>

    Lowercased keys preferred; values preserved verbatim.

    body?: string | Uint8Array<ArrayBufferLike>
    allowPrivateIp?: boolean

    Allow http:// and private/loopback targets. Default false.

    timeoutMs?: number

    Overall timeout including DNS + connect + body read. Default 10_000 ms.

    maxBodyBytes?: number

    Hard cap on response body bytes. Default 64 KiB.

    signal?: AbortSignal

    Caller-provided abort signal, composed with the internal timeout.