mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-19 09:25:28 +00:00
18 lines
423 B
C++
18 lines
423 B
C++
#include <llarp/path.hpp>
|
|
#include <llarp/service/lookup.hpp>
|
|
namespace llarp
|
|
{
|
|
namespace service
|
|
{
|
|
bool
|
|
IServiceLookup::SendRequestViaPath(llarp::path::Path *path, llarp_router *r)
|
|
{
|
|
auto msg = BuildRequestMessage();
|
|
if(!msg)
|
|
return false;
|
|
auto result = path->SendRoutingMessage(msg, r);
|
|
delete msg;
|
|
return result;
|
|
}
|
|
} // namespace service
|
|
} // namespace llarp
|