Skip to content

Interface: BatchResponsePart ​

Defined in: batch/batch-types.ts:58

Represents the HTTP response for a single operation within a batch response.

Properties ​

body? ​

readonly optional body?: string | Buffer<ArrayBufferLike>

Defined in: batch/batch-types.ts:66

Serialized response body, if any: text, or the raw bytes of a binary body


contentId? ​

readonly optional contentId?: string

Defined in: batch/batch-types.ts:60

Content-ID from the corresponding request part, if any


headers ​

readonly headers: Readonly<Record<string, string | readonly string[]>>

Defined in: batch/batch-types.ts:64

Response headers for this operation (one entry per value for Set-Cookie)


statusCode ​

readonly statusCode: number

Defined in: batch/batch-types.ts:62

HTTP status code for this operation