Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RouterResponseController

Hierarchy

  • RouterResponseController

Index

Constructors

constructor

Properties

Private applicationRef

applicationRef: HttpServer

Methods

apply

  • apply<TInput, TResponse>(result: TInput, response: TResponse, httpStatusCode?: number): Promise<any>

getStatusByMethod

render

  • render<TInput, TResponse>(resultOrDeffered: TInput, response: TResponse, template: string): Promise<void>

setHeaders

  • setHeaders<TResponse>(response: TResponse, headers: CustomHeader[]): void

setStatus

  • setStatus<TResponse>(response: TResponse, statusCode: number): void

transformToResult

  • transformToResult(resultOrDeffered: any): Promise<any>

Generated using TypeDoc