BodyPart interface

A part of the request body in a multipart request.

Properties

body

The body of this part of the multipart request.

headers

The headers for this part of the multipart request.

Property Details

body

The body of this part of the multipart request.

body: () => ReadableStream<Uint8Array> | () => ReadableStream | Uint8Array | ReadableStream<Uint8Array> | ReadableStream | Blob

Property Value

() => ReadableStream<Uint8Array> | () => ReadableStream | Uint8Array | ReadableStream<Uint8Array> | ReadableStream | Blob

headers

The headers for this part of the multipart request.

headers: HttpHeaders

Property Value