Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebSocketAdapter<TServer, TClient, TOptions>

Type parameters

  • TServer = any

  • TClient = any

  • TOptions = any

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: (data: any) => Observable<any>): any

close

  • close(server: TServer): any

create

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

Generated using TypeDoc