ao-js-sdk - v0.4.0
    Preparing search index...

    Interface RequestOptions

    interface RequestOptions {
        _defaultAgent?: Agent;
        agent?: boolean | Agent;
        auth?: string | null;
        createConnection?: (
            options: ClientRequestArgs,
            oncreate: (err: Error | null, socket: Duplex) => void,
        ) => Duplex | null | undefined;
        defaultPort?: string | number;
        family?: number;
        headers?: OutgoingHttpHeaders | readonly string[];
        hints?: number;
        host?: string | null;
        hostname?: string | null;
        insecureHTTPParser?: boolean;
        joinDuplicateHeaders?: boolean;
        localAddress?: string;
        localPort?: number;
        lookup?: LookupFunction;
        maxHeaderSize?: number;
        method?: string;
        path?: string | null;
        port?: string | number | null;
        protocol?: string | null;
        setDefaultHeaders?: boolean;
        setHost?: boolean;
        signal?: AbortSignal;
        socketPath?: string;
        timeout?: number;
        uniqueHeaders?: (string | string[])[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    _defaultAgent?: Agent
    agent?: boolean | Agent
    auth?: string | null
    createConnection?: (
        options: ClientRequestArgs,
        oncreate: (err: Error | null, socket: Duplex) => void,
    ) => Duplex | null | undefined
    defaultPort?: string | number
    family?: number
    headers?: OutgoingHttpHeaders | readonly string[]
    hints?: number

    One or more supported getaddrinfo flags. Multiple flags may be passed by bitwise ORing their values.

    host?: string | null
    hostname?: string | null
    insecureHTTPParser?: boolean
    joinDuplicateHeaders?: boolean
    localAddress?: string
    localPort?: number
    lookup?: LookupFunction
    maxHeaderSize?: number
    16384
    
    method?: string
    path?: string | null
    port?: string | number | null
    protocol?: string | null
    setDefaultHeaders?: boolean
    setHost?: boolean
    signal?: AbortSignal
    socketPath?: string
    timeout?: number
    uniqueHeaders?: (string | string[])[]