Interface: Metadata
@divine/uri.Metadata
Defines how response/result metadata is attached to an object.
Hierarchy
- Metadata
Properties
[HEADERS]
• Optional [HEADERS]: StringParams
Additional metadata as key-value pairs. Example: HTTP response headers.
Defined in
[STATUS]
• Optional [STATUS]: number
The response status. Example: the HTTP status or a Node.js errno value.
Defined in
[STATUS_TEXT]
• Optional [STATUS_TEXT]: string
The response status message. Example: the HTTP status text or a Node.js code value.