sendDirect method

Future<SendResult> sendDirect(
  1. PeerId recipient,
  2. Uint8List payload,
  3. MessagePriority priority,
  4. Duration? expiry, {
  5. String? folderPath,
  6. bool persistent = false,
})

Attempt direct delivery to recipient

Implementation

Future<SendResult> sendDirect(
  PeerId recipient,
  Uint8List payload,
  MessagePriority priority,
  Duration? expiry, {
  String? folderPath,
  bool persistent = false,
}) async {
  // Direct delivery not yet implemented — fall through to S&F
  _logger.fine('Direct delivery not implemented, skipping to S&F');
  return SendResult.failure('Direct delivery not implemented');
}