hosanna-ui-docs - v0.9.0
    Preparing search index...

    Options for configuring an HsFetch request.

    interface HsFetchOptions {
        body?: string;
        credentials?: "include" | "same-origin";
        forceText?: boolean;
        headers?: Record<string, string>;
        maxMs?: number;
        method?: http_commands_api.HttpMethod;
        retainBodyError?: boolean;
    }
    Index

    Properties

    body?: string

    The body of the request, as a string.

    credentials?: "include" | "same-origin"

    Credentials mode for the request (e.g., 'include' or 'same-origin').

    forceText?: boolean
    headers?: Record<string, string>

    Headers to include in the request.

    maxMs?: number

    The HTTP method to use for the request (e.g., GET, POST).

    retainBodyError?: boolean

    Whether to retain the response body on error.