xmpp-httpx - v0.11.0
    Preparing search index...

    Interface HttpxRequestInit

    interface HttpxRequestInit {
        body?: HttpxBodyInit;
        extensions?: Element[];
        headers?: HeadersInit;
        idleTimeoutMs?: number;
        method?:
            | "OPTIONS"
            | "GET"
            | "HEAD"
            | "POST"
            | "PUT"
            | "DELETE"
            | "TRACE"
            | "PATCH"
            | "CONNECT";
        resource?: string;
        signal?: AbortSignal;
        timeoutMs?: number;
    }
    Index
    extensions?: Element[]

    Elements in other namespaces to carry inside the , verbatim: each must bring its own xmlns. The responder sees them as HttpxServerRequest.extensions.

    headers?: HeadersInit
    idleTimeoutMs?: number

    Overrides the client's idle timeout for this response body — the gap allowed between chunks/blocks of a streamed body. Useful per request because a slow large download and a quick page have different patience.

    method?:
        | "OPTIONS"
        | "GET"
        | "HEAD"
        | "POST"
        | "PUT"
        | "DELETE"
        | "TRACE"
        | "PATCH"
        | "CONNECT"

    Defaults to "GET".

    resource?: string

    Path + optional query, e.g. "/index.html?x=1". Defaults to "/".

    signal?: AbortSignal
    timeoutMs?: number

    Overrides the client's default IQ timeout for this request.