Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Response<D>

Type parameters

  • D

Hierarchy

  • Response

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

body

body: D

Private raw

raw: ServerResponse<any> = ...

state

state: "ready" | "sent" = 'ready'

Methods

send

  • send(body?: D): void

set

  • set(key: string, value: string): Response<D>

setHeader

  • setHeader(key: string, value: string): Response<D>

status

statusText

Generated using TypeDoc