mirror of
https://github.com/XRPLF/clio.git
synced 2026-08-22 21:20:52 +00:00
@@ -22,6 +22,7 @@
|
||||
#include <util/Taggable.h>
|
||||
|
||||
#include <boost/beast/http.hpp>
|
||||
#include <utility>
|
||||
|
||||
namespace web {
|
||||
|
||||
@@ -47,11 +48,12 @@ public:
|
||||
* @param tagFactory The factory that generates tags to track sessions and requests
|
||||
* @param ip The IP address of the connected peer
|
||||
*/
|
||||
ConnectionBase(util::TagDecoratorFactory const& tagFactory, std::string ip) : Taggable(tagFactory), clientIp(ip)
|
||||
ConnectionBase(util::TagDecoratorFactory const& tagFactory, std::string ip)
|
||||
: Taggable(tagFactory), clientIp(std::move(ip))
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~ConnectionBase() = default;
|
||||
~ConnectionBase() override = default;
|
||||
|
||||
/**
|
||||
* @brief Send the response to the client.
|
||||
|
||||
Reference in New Issue
Block a user