Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SocketClient

Hierarchy

  • SocketClient

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _socket

_socket: typeof Socket

Methods

close

  • close(): void

off

  • off<TChannel>(channel: TChannel, fn: (response: ResponseByChannel<TChannel>) => unknown): this

offError

  • offError(fn: Function): this

on

  • on<TChannel>(channel: TChannel, fn: (response: ResponseByChannel<TChannel>) => unknown): this

onError

  • onError(fn: Function): this

subscribe

  • subscribe<TChannel>(channel: TChannel, params: ParamsByChannel<TChannel>): this

unsubscribe

  • unsubscribe<TChannel>(channel: TChannel, params: ParamsByChannel<TChannel>): this

Generated using TypeDoc