@squidcloud/client
    Preparing search index...

    Interface NativeApiCallResponse<BodyType>

    A native API call response.

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

    Type Parameters

    • BodyType = unknown
    Index

    Properties

    Properties

    body: BodyType

    The response body, typed according to the expected content.

    headers: Record<string, string>

    A record of HTTP headers returned in the response.

    status: number

    The HTTP status code of the response.