mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
341 B
C++
13 lines
341 B
C++
#include "connection.hpp"
|
|
|
|
namespace llarp::link
|
|
{
|
|
Connection::Connection(
|
|
std::shared_ptr<oxen::quic::connection_interface> c,
|
|
std::shared_ptr<oxen::quic::BTRequestStream> s,
|
|
bool is_relay)
|
|
: conn{std::move(c)}, control_stream{std::move(s)}, remote_is_relay{is_relay}
|
|
{}
|
|
|
|
} // namespace llarp::link
|