connect method

Future<void> connect()

Implementation

Future<void> connect() async {
  _socket = await socketFactory(url);
}