jimpex
    Preparing search index...

    Type Alias HTTPFetchOptions

    The options for a request.

    type HTTPFetchOptions = {
        body?: HTTPFetchBody;
        headers?: Record<string, string>;
        method?: string;
        qs?: Record<string, unknown>;
        req?: Request;
    }
    Index

    Properties

    The body of the request.

    headers?: Record<string, string>

    The headers dictionary.

    method?: string

    The HTTP method.

    'GET'
    
    qs?: Record<string, unknown>

    A dictionary of query string parameters.

    req?: Request

    A request object generated by the application. This can be used to copy information like custom headers or the IP (for the X-Forwarded-For header).