Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReconnectingSocket

A wrapper around QueueingStreamingSocket that reconnects automatically.

Hierarchy

  • ReconnectingSocket

Index

Constructors

constructor

  • new ReconnectingSocket(url: string, timeout?: number, reconnectedHandler?: undefined | function): ReconnectingSocket

Properties

connectionStatus

connectionStatus: ValueAndUpdates<ConnectionStatus>

events

Methods

connect

  • connect(): void

disconnect

  • disconnect(): void

queueRequest

  • queueRequest(request: string): void

Generated using TypeDoc