Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SessionIdDecorator

Type of the SessionId decorator

Hierarchy

  • SessionIdDecorator

Callable

  • __call(): any
  • Injects the session id into controller handler

    example
    
    class ExampleController {
      @Get('/')
      index(@SessionId() sessId: string) {
      }
    }
    

    Returns any

Index

Constructors

Constructors

constructor

  • new SessionIdDecorator(): Session

Generated using TypeDoc