Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for Request.respond method

Hierarchy

  • RespondOptions

Index

Properties

Optional body

body: string | Buffer

Specifies the response body.

Optional contentType

contentType: string

Specifies the Content-Type response header.

Optional headers

headers: Record<string, string>

Specifies the response headers.

Optional status

status: number

Specifies the response status code.

default

200

Generated using TypeDoc