Lines Matching full:boost
15 #include <boost/asio/io_context.hpp>
16 #include <boost/asio/ip/tcp.hpp>
17 #include <boost/asio/ssl/context.hpp>
18 #include <boost/asio/ssl/stream.hpp>
37 using ssl_socket_t = boost::asio::ssl::stream<boost::asio::ip::tcp::socket>;
38 using raw_socket_t = boost::asio::ip::tcp::socket;
44 explicit App(std::shared_ptr<boost::asio::io_context> ioIn = in App()
45 std::make_shared<boost::asio::io_context>()) : in App()
89 std::optional<boost::asio::ip::tcp::acceptor> setupSocket() in setupSocket()
105 return boost::asio::ip::tcp::acceptor( in setupSocket()
106 *io, boost::asio::ip::tcp::v6(), SD_LISTEN_FDS_START); in setupSocket()
113 return boost::asio::ip::tcp::acceptor( in setupSocket()
114 *io, boost::asio::ip::tcp::endpoint( in setupSocket()
115 boost::asio::ip::make_address("0.0.0.0"), defaultPort)); in setupSocket()
122 std::optional<boost::asio::ip::tcp::acceptor> acceptor = setupSocket(); in run()
148 App& ssl(std::shared_ptr<boost::asio::ssl::context>&& ctx) in ssl()
156 std::shared_ptr<boost::asio::ssl::context> sslContext = nullptr;
158 boost::asio::io_context& ioContext() in ioContext()
164 std::shared_ptr<boost::asio::io_context> io;