Skip to main content

Interface: Metadata

@divine/uri.Metadata

Defines how response/result metadata is attached to an object.

Hierarchy

Properties

[HEADERS]

Optional [HEADERS]: StringParams

Additional metadata as key-value pairs. Example: HTTP response headers.

Defined in

uri/src/uri.ts:58


[STATUS]

Optional [STATUS]: number

The response status. Example: the HTTP status or a Node.js errno value.

Defined in

uri/src/uri.ts:52


[STATUS_TEXT]

Optional [STATUS_TEXT]: string

The response status message. Example: the HTTP status text or a Node.js code value.

Defined in

uri/src/uri.ts:55