Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResDecorator

Type of the Res decorator

Hierarchy

  • ResDecorator

Callable

  • __call(): any
  • Injects the express response object into controller handler

    example
    
    class ExampleController {
      @Get('/')
      index(@Res() res : Express.Response) {
      }
    }
    

    Returns any

Index

Constructors

Constructors

constructor

  • new ResDecorator(): Res

Generated using TypeDoc