onreconnecting method
Registers a handler that will be invoked when the connection starts reconnecting.
Implementation
void onreconnecting(ReconnectingCallback callback) {
_reconnectingCallbacks.add(callback);
}
Registers a handler that will be invoked when the connection starts reconnecting.
void onreconnecting(ReconnectingCallback callback) {
_reconnectingCallbacks.add(callback);
}