Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IReconnectionPolicy

A ReconnectionPolicy describes how long to wait before attempting to reconnect to the websocket if the connection drops.

Hierarchy

  • IReconnectionPolicy

Implemented by

Index

Methods

Methods

next

  • next(): number

reset

  • reset(): void
  • Resets an internal counter of reconnection attempts, should be called on a successful connection.

    Returns void

Generated using TypeDoc