Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Response

Index

Constructors

Properties

Constructors

constructor

  • new Response(statusCode?: number, body?: object, headers?: object): Response
  • Parameters

    • Default value statusCode: number = 200
    • Default value body: object = {}
      • [key: string]: any
    • Default value headers: object = {}
      • [key: string]: string

    Returns Response

Properties

body

body: object

Type declaration

  • [key: string]: any

headers

headers: object

Type declaration

  • [key: string]: string

statusCode

statusCode: number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc