mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-09 13:10:25 +00:00
19 lines
515 B
C++
19 lines
515 B
C++
|
#include <service/session.hpp>
|
||
|
|
||
|
namespace llarp
|
||
|
{
|
||
|
namespace service
|
||
|
{
|
||
|
util::StatusObject
|
||
|
Session::ExtractStatus() const
|
||
|
{
|
||
|
util::StatusObject obj{{"lastUsed", lastUsed},
|
||
|
{"replyIntro", replyIntro.ExtractStatus()},
|
||
|
{"remote", remote.Addr().ToString()},
|
||
|
{"seqno", seqno},
|
||
|
{"intro", intro.ExtractStatus()}};
|
||
|
return obj;
|
||
|
};
|
||
|
} // namespace service
|
||
|
} // namespace llarp
|