setReconnectionAttempts method
The number of reconnection attempts before giving up. The default is Infinity.
Implementation
OptionBuilder setReconnectionAttempts(num attempts) {
_opts['reconnectionAttempts'] = attempts;
return this;
}
The number of reconnection attempts before giving up. The default is Infinity.
OptionBuilder setReconnectionAttempts(num attempts) {
_opts['reconnectionAttempts'] = attempts;
return this;
}