示例#1
0
        public async Task QuickSend(Envelope envelope)
        {
            envelope.Status = TransportConstants.Outgoing;
            await _agent.EnqueueOutgoing(envelope);

            _logger.Sent(envelope);
        }
示例#2
0
 public Task QuickSend(Envelope envelope)
 {
     envelope.Status = TransportConstants.Outgoing;
     return(_agent.EnqueueOutgoing(envelope));
 }