connect method

  1. @override
Future<void> connect({
  1. required FutureOr<void> onSocketData(
    1. Uint8List data
    ),
  2. required FutureOr<void> onSocketConnection(
    1. SocketConnection socketConnection
    ),
  3. Duration delayDuration = const Duration(milliseconds: 500),
})
override

Implementation

@override
Future<void> connect(
    {required FutureOr<void> Function(Uint8List data) onSocketData,
    required FutureOr<void> Function(SocketConnection socketConnection)
        onSocketConnection,
    Duration delayDuration = const Duration(milliseconds: 500)}) async {
  return;
}