disconnect method
Disconnects from a server via controller.
Implementation
Future<void> disconnect() {
if (_isDisposed) {
throw const PusherChannelsClientDisposedException();
}
return controller.disconnectSafely();
}
Disconnects from a server via controller.
Future<void> disconnect() {
if (_isDisposed) {
throw const PusherChannelsClientDisposedException();
}
return controller.disconnectSafely();
}