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

    Interface IHsFetchResponse

    Interface representing a general-purpose HTTP response object. Used for handling responses in asynchronous operations.

    interface IHsFetchResponse {
        headers: Record<string, string>;
        ipAddress: string;
        json?: Record<string, any>;
        ok: boolean;
        response?: ISGROURLEvent;
        status: number;
        statusText: string;
        text?: string;
        transfer?: ISGROUrlTransfer;
    }
    Index

    Properties

    headers: Record<string, string>

    The headers of the response.

    ipAddress: string

    The IP address of the server that sent the response.

    json?: Record<string, any>

    The JSON body of the response, if applicable.

    ok: boolean

    Indicates whether the response was successful.

    response?: ISGROURLEvent

    The URL event associated with the response (available only in asyncManager worker tasks).

    status: number

    The HTTP status code of the response.

    statusText: string

    The HTTP status text of the response.

    text?: string

    The text body of the response, if applicable.

    transfer?: ISGROUrlTransfer

    The URL transfer object associated with the response (available only in asyncManager worker tasks).