29 std::optional<std::variant<SslServerContext, boost::asio::ssl::context>>& sslContext,
30 std::function<
void(
Error&&)> onError);
42 std::weak_ptr<Router> router,
43 std::shared_ptr<const StandardResponseProvider> standardResponseProvider);
48 std::unique_ptr<Implementation>
impl_;
This factory creates sessions.
Definition factory.hpp:23
ROAR_PIMPL_SPECIAL_FUNCTIONS(Factory)
static constexpr std::chrono::seconds sslDetectionTimeout
Definition factory.hpp:25
std::unique_ptr< Implementation > impl_
Definition factory.hpp:48
void makeSession(boost::asio::basic_stream_socket< boost::asio::ip::tcp > &&socket, std::weak_ptr< Router > router, std::shared_ptr< const StandardResponseProvider > standardResponseProvider)
Creates a new http session.
Definition factory.cpp:46
Definition forward.hpp:11
Definition authorization.hpp:10
Holds errors that are produced asynchronously anywhere.
Definition error.hpp:20
Definition factory.cpp:30
Definition factory.cpp:19