yolkbot
    Preparing search index...

    Interface xfetchParams

    The parameters passable to an xfetch request

    interface xfetchParams {
        body?: string | null;
        headers?: Record<string, string | null | undefined>;
        method?: string;
        proxy?: string | null;
        timeout?: number;
    }
    Index

    Properties

    body?: string | null

    The request body

    headers?: Record<string, string | null | undefined>

    Headers to send in the request

    method?: string

    The request HTTP method

    proxy?: string | null

    A socks5(h) proxy to use

    timeout?: number

    The request timeout in ms