start method

Future<void> start()

Implementation

Future<void> start() async {
  // Register a handler for the STOP protocol. This is how we receive incoming connections.
  host.setStreamHandler(CircuitV2Protocol.protoIDv2Stop, _handleStreamV2);
  _log.warning(
      '🎯 [CircuitV2Client.start] Handler registered for ${CircuitV2Protocol.protoIDv2Stop}');
  _log.fine(
      'CircuitV2Client started, listening for ${CircuitV2Protocol.protoIDv2Stop}');
}