Skip to main content

Interface: MultiPartField

@divine/uri.MultiPartField

A multi-part key-value field.

Properties

headers

headers: StringParams

Multi-part keys may contain additional headers, available in this record.

Defined in

uri/src/parsers/forms.ts:42


name

Optional name: string

The name of the field. Note that the name is actually optional.

Defined in

uri/src/parsers/forms.ts:36


type

type: ContentType

The media type of the value.

Defined in

uri/src/parsers/forms.ts:39


value

value: string | URI | MultiPartData

The value of the filed.

Defined in

uri/src/parsers/forms.ts:45