Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClient

Client Interface, all Client should should implement this interface.

internal

Hierarchy

  • IClient

Implemented by

Index

Properties

heartbeatIn

heartbeatIn: number

heartbeatOut

heartbeatOut: number

isDebugEnabled

isDebugEnabled: boolean

password

password: string

presetServer

presetServer: number

retryTime

retryTime: number

serverURL

serverURL: string

username

username: string

Methods

activate

  • activate(): void

deactivate

  • deactivate(): void

onConnect

  • onConnect(cb: unknown): void

onError

  • onError(cb: unknown): void

onWebSocketClose

  • onWebSocketClose(cb: unknown): void

subscribe

  • subscribe(channel: string, cb: unknown): void

Generated using TypeDoc