Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Controller

Hierarchy

  • Controller

Index

Constructors

constructor

Methods

getHeader

  • getHeader(name: string): undefined | string | string[]
  • Parameters

    • name: string

    Returns undefined | string | string[]

getHeaders

  • getHeaders(): {}
  • Returns {}

    • [name: string]: string | string[] | undefined

getStatus

  • getStatus(): undefined | number
  • Returns undefined | number

setHeader

  • setHeader(name: string, value?: string | string[]): void
  • Parameters

    • name: string
    • Optional value: string | string[]

    Returns void

setStatus

  • setStatus(statusCode: number): void
  • Parameters

    • statusCode: number

    Returns void

Generated using TypeDoc