Contact Us 1-800-596-4880

Multipart Types (dw::module::Multipart)

Type Definition Description

Multipart

type Multipart = { preamble?: String, parts: { _?: MultipartPart } }

MultiPart type, a data structure for a complete Multipart format. See the output example for the Multipart form function documentation.

MultipartPart

type MultipartPart = { headers?: { "Content-Disposition"?: { name: String, filename?: String }, "Content-Type"?: String }, content: Any }

MultipartPart type, a data structure for a part within a MultiPart format. See the output examples for the Multipart field function documentation.