Record: WebSocketRetryConfig

Retry configurations for WebSocket.

Closed record

Fields

  • maxCount int(default 0)
  • The maximum number of retry attempts. If the count is zero, the client will retry indefinitely.

  • interval decimal(default 1)
  • The number of seconds to delay before attempting to reconnect.

  • backOffFactor float(default 1.0)
  • The rate of increase of the reconnect delay. Allows reconnect attempts to back off when problems persist.

  • maxWaitInterval decimal(default 30)
  • Maximum time of the retry interval in seconds.