Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebEvent

Represents

Hierarchy

  • WebEvent

Index

Constructors

constructor

  • new WebEvent(request: express.Request, response: express.Response): WebEvent

Properties

connected

connected: boolean = true

Is the client still connected?

controller

controller: any

request

request: express.Request

response

response: express.Response

Accessors

Static connected

  • get connected(): boolean

Static controller

  • get controller(): any

Static current

Static request

  • get request(): Request<ParamsDictionary, any, any, ParsedQs>

Static response

  • get response(): Response<any>

Methods

context

  • context<T>(callback: () => T): T

sendEvent

Static sendEvent

Static with

  • with<T>(routeEvent: WebEvent, callback: () => T): T

Generated using TypeDoc