onReconnectAttempt method

void onReconnectAttempt(
  1. EventHandler handler
)

Implementation

void onReconnectAttempt(EventHandler handler) {
  on('reconnect_attempt', handler);
}