Interface WebsocketConnectionRetryOptions

Options for the websockets retry-strategy.

Hierarchy

  • WebsocketConnectionRetryOptions

Properties

backoff?: Backoff

The backoff strategy to use. This is used to determine the delay between connection-retries.

instantReconnect?: boolean

Wether to reconnect immediately after a connection has been lost, ignoring the backoff strategy for the first retry.

maxRetries?: number

The maximum number of retries before giving up. No limit if undefined.

Generated using TypeDoc