Lines Matching full:boost
13 #include <boost/asio/io_context.hpp>
14 #include <boost/asio/ip/tcp.hpp>
15 #include <boost/asio/ssl/context.hpp>
16 #include <boost/asio/ssl/stream.hpp>
35 using ssl_socket_t = boost::asio::ssl::stream<boost::asio::ip::tcp::socket>;
36 using raw_socket_t = boost::asio::ip::tcp::socket;
42 explicit App(std::shared_ptr<boost::asio::io_context> ioIn = in App()
43 std::make_shared<boost::asio::io_context>()) : in App()
87 std::optional<boost::asio::ip::tcp::acceptor> setupSocket() in setupSocket()
103 return boost::asio::ip::tcp::acceptor( in setupSocket()
104 *io, boost::asio::ip::tcp::v6(), SD_LISTEN_FDS_START); in setupSocket()
111 return boost::asio::ip::tcp::acceptor( in setupSocket()
112 *io, boost::asio::ip::tcp::endpoint( in setupSocket()
113 boost::asio::ip::make_address("0.0.0.0"), defaultPort)); in setupSocket()
120 std::optional<boost::asio::ip::tcp::acceptor> acceptor = setupSocket(); in run()
146 App& ssl(std::shared_ptr<boost::asio::ssl::context>&& ctx) in ssl()
154 std::shared_ptr<boost::asio::ssl::context> sslContext = nullptr;
156 boost::asio::io_context& ioContext() in ioContext()
162 std::shared_ptr<boost::asio::io_context> io;