Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExecutionContextHost

Hierarchy

  • ExecutionContextHost

Implements

  • ExecutionContext

Index

Constructors

constructor

  • Parameters

    • args: any
    • Default value constructorRef: any = null
    • Default value handler: any = null

    Returns ExecutionContextHost

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(index: any): any
  • Parameters

    • index: any

    Returns any

getArgs

  • getArgs(): any
  • Returns any

getClass

  • getClass(): any
  • Returns any

getHandler

  • getHandler(): any
  • Returns any

getType

  • getType(): string
  • Returns string

setType

  • setType(type: any): void
  • Parameters

    • type: any

    Returns void

switchToHttp

  • switchToHttp(): this & { getNext: any; getRequest: any; getResponse: any }
  • Returns this & { getNext: any; getRequest: any; getResponse: any }

switchToRpc

  • switchToRpc(): this & { getContext: any; getData: any }
  • Returns this & { getContext: any; getData: any }

switchToWs

  • switchToWs(): this & { getClient: any; getData: any }
  • Returns this & { getClient: any; getData: any }

Generated using TypeDoc