Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebSocketAdapter<TServer, TClient, TOptions>

Type parameters

  • TServer

  • TClient

  • TOptions

Hierarchy

  • WebSocketAdapter

Index

Methods

bindClientConnect

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

Optional bindClientDisconnect

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

bindMessageHandlers

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

close

  • close(server: TServer): any

create

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

Generated using TypeDoc