3#include "../../core/tcp/stream.hpp"
5#include <boost/beast/core.hpp>
9namespace boost::asio::ssl
19namespace malloy::server
24namespace malloy::server::http
32 public std::enable_shared_from_this<connection_detector>
45 std::shared_ptr<spdlog::logger> logger,
46 boost::asio::ip::tcp::socket&& socket,
47 std::shared_ptr<boost::asio::ssl::context> ctx,
48 std::shared_ptr<const std::filesystem::path> doc_root,
49 std::shared_ptr<malloy::server::router>
router,
50 std::string agent_string
60 std::shared_ptr<spdlog::logger> m_logger;
62 std::shared_ptr<boost::asio::ssl::context> m_ctx;
63 boost::beast::flat_buffer m_buffer;
64 std::shared_ptr<const std::filesystem::path> m_doc_root;
65 std::shared_ptr<malloy::server::router> m_router;
66 std::string m_agent_string;
69 on_detect(boost::beast::error_code ec,
bool result);
Definition: connection_detector.hpp:33
void run()
Definition: connection_detector.cpp:98
Definition: router.hpp:104
boost::beast::basic_stream< boost::asio::ip::tcp, boost::asio::any_io_executor, RatePolicy > stream
Definition: stream.hpp:22