setReconnectionDelayMax method

OptionBuilder setReconnectionDelayMax(
  1. int delayMax
)

The maximum delay between two reconnection attempts. Each attempt increases the reconnection delay by 2x. The default is 5000 (5 seconds).

Implementation

OptionBuilder setReconnectionDelayMax(int delayMax) {
  _opts['reconnectionDelayMax'] = delayMax;
  return this;
}