Skip to main content
Version: 20.4.0

ResponseForRequest interface

Required response data to fulfill a request with.

Signature:

export interface ResponseForRequest

Properties

PropertyModifiersTypeDescriptionDefault
bodystring | Buffer
contentTypestring
headersRecord<string, unknown>Optional response headers. All values are converted to strings.
statusnumber