Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @midwayjs/ws

References

Application

Application:

Context

Context:

Framework

Framework:

IMidwayWSApplication

IMidwayWSApplication:

IMidwayWSConfigurationOptions

IMidwayWSConfigurationOptions:

IMidwayWSContext

IMidwayWSContext:

Type aliases

Application

IMidwayWSApplication

IMidwayWSApplication: IMidwayApplication<IMidwayWSContext> & Server

IMidwayWSConfigurationOptions

IMidwayWSConfigurationOptions: object & Partial<ServerOptions> & IConfigurationOptions

IMidwayWSContext

IMidwayWSContext: IMidwayContext<WebSocket & object>

Variables

Const debug

debug: function = debuglog('midway:ws')

Type declaration

    • (msg: string, ...param: any[]): void
    • Parameters

      • msg: string
      • Rest ...param: any[]

      Returns void

Functions

formatResult

  • formatResult(result: any): any

Generated using TypeDoc