21 #include "cafNotNull.h"
22 #include "cafRpcServerApplication.h"
23 #include "cafSession.h"
27 #include <boost/asio.hpp>
28 #include <boost/beast/ssl.hpp>
33 namespace net = boost::asio;
34 namespace ssl = boost::asio::ssl;
39 class RestAuthenticator;
55 RestServerApplication(
unsigned short portNumber,
int threads, std::shared_ptr<const RestAuthenticator> authenticator );
58 int portNumber()
const override;
61 bool running()
const override;
64 unsigned short m_portNumber;
66 net::io_context m_ioContext;
67 std::shared_ptr<ssl::context> m_sslContext;
68 std::shared_ptr<RestServer> m_server;
Definition: cafRestServerApplication.h:46
RestServerApplication(unsigned short portNumber, int threads, std::shared_ptr< const RestAuthenticator > authenticator)
Definition: cafRestServerApplication.cpp:37
Definition: cafRpcServerApplication.h:34