Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractWsAdapter<TServer, TClient, TOptions>

Type parameters

Hierarchy

Implements

  • any

Index

Constructors

constructor

Properties

Protected httpServer

httpServer: any

Methods

bindClientConnect

  • bindClientConnect(server: TServer, callback: Function): void

bindClientDisconnect

  • bindClientDisconnect(client: TClient, callback: Function): void

Abstract bindMessageHandlers

  • bindMessageHandlers(client: TClient, handlers: WsMessageHandler[], transform: function): any

close

  • close(server: TServer): void

Abstract create

  • create(port: number, options?: TOptions): TServer

Generated using TypeDoc