| 474 | } |
| 475 | |
| 476 | std::future<std::shared_ptr<TransportSession> > Transports::SendMessages (const i2p::data::IdentHash& ident, std::list<std::shared_ptr<i2p::I2NPMessage> >&& msgs) |
| 477 | { |
| 478 | return boost::asio::post (*m_Service, boost::asio::use_future ([this, ident, msgs = std::move(msgs)] () mutable |
| 479 | { |
| 480 | return PostMessages (ident, msgs); |
| 481 | })); |
| 482 | } |
| 483 | |
| 484 | std::shared_ptr<TransportSession> Transports::PostMessages (const i2p::data::IdentHash& ident, std::list<std::shared_ptr<i2p::I2NPMessage> >& msgs) |
| 485 | { |
no outgoing calls
no test coverage detected