@squidcloud/client
    Preparing search index...

    Interface HttpResponse<BodyType>

    A response object with type T for the body.

    interface HttpResponse<BodyType = unknown> {
        body: BodyType;
        headers: Record<string, string>;
        status: number;
        statusText: string;
    }

    Type Parameters

    • BodyType = unknown
    Index

    Properties

    body: BodyType

    Response body, typed as BodyType.

    headers: Record<string, string>

    Headers included in the response.

    status: number

    HTTP status code of the response.

    statusText: string

    HTTP status text of the response.