Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReqDecorator

Type of the Req decorator

Hierarchy

  • ReqDecorator

Callable

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

    example
    
    class ExampleController {
      @Get('/')
      index(@Req() req : Express.Request) {
      }
    }
    

    Returns any

Index

Constructors

Constructors

constructor

  • new ReqDecorator(): Req

Generated using TypeDoc