Sanity Library Reference Docs
    Preparing search index...

    Interface ResponseEvent<T>

    interface ResponseEvent<T = unknown> {
        body: T;
        headers: Record<string, string>;
        method: string;
        statusCode: number;
        statusMessage?: string;
        type: "response";
        url: string;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    body: T
    headers: Record<string, string>
    method: string
    statusCode: number
    statusMessage?: string
    type: "response"
    url: string