Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SessionDecorator

Type of the Session decorator

Hierarchy

  • SessionDecorator

Callable

  • Injects the session object into controller handler

    example
    
    class ExampleController {
      @Get('/')
      index(@Session() session: Express.Session) {
      }
    }
    

    Parameters

    Returns any

Index

Constructors

Constructors

constructor

Generated using TypeDoc