Interface HostFetchResponse

The serialized response from hostFetch (no live stream crosses the boundary).

interface HostFetchResponse {
    body: string;
    headers: Record<string, string>;
    status: number;
    statusText: string;
    truncated: boolean;
}

Properties

body: string
headers: Record<string, string>
status: number
statusText: string
truncated: boolean

True if the body hit the host's size cap and was truncated.