Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExecutionContextHost

Hierarchy

  • ExecutionContextHost

Implements

  • ExecutionContext

Index

Constructors

constructor

Properties

Private Readonly args

args: any[]

Private Readonly constructorRef

constructorRef: Type<any>

Private contextType

contextType: string = "http"

Private Readonly handler

handler: Function

Methods

getArgByIndex

  • getArgByIndex<T>(index: number): T

getArgs

  • getArgs<T>(): T

getClass

  • getClass<T>(): Type<T>

getHandler

getType

  • getType<TContext>(): TContext

setType

  • setType<TContext>(type: TContext): void

switchToHttp

  • switchToHttp(): HttpArgumentsHost

switchToRpc

  • switchToRpc(): RpcArgumentsHost

switchToWs

  • switchToWs(): WsArgumentsHost

Generated using TypeDoc