sendDirect method
Future<SendResult>
sendDirect(
- PeerId recipient,
- Uint8List payload,
- MessagePriority priority,
- Duration? expiry, {
- String? folderPath,
- 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');
}