connectAuto method

  1. @override
Future<void> connectAuto(
  1. String server,
  2. int port
)
override

Connect for auto reconnect , must be overridden in connection classes

Implementation

@override
Future<void> connectAuto(String server, int port) {
  final completer = Completer<void>();
  return completer.future;
}