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

Properties

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