reconnect method

Future<void> reconnect()

Reconnects to a server via controller.

Implementation

Future<void> reconnect() {
  if (_isDisposed) {
    throw const PusherChannelsClientDisposedException();
  }
  return controller.reconnectSafely();
}