Lines Matching refs:asio
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()
96 std::optional<boost::asio::ip::tcp::acceptor> setupSocket() in setupSocket()
113 return boost::asio::ip::tcp::acceptor( in setupSocket()
114 *io, boost::asio::ip::tcp::v6(), SD_LISTEN_FDS_START); in setupSocket()
121 return boost::asio::ip::tcp::acceptor( in setupSocket()
122 *io, boost::asio::ip::tcp::endpoint( in setupSocket()
123 boost::asio::ip::make_address("0.0.0.0"), defaultPort)); in setupSocket()
130 std::optional<boost::asio::ip::tcp::acceptor> acceptor = setupSocket(); in run()
161 App& ssl(std::shared_ptr<boost::asio::ssl::context>&& ctx) in ssl()
169 std::shared_ptr<boost::asio::ssl::context> sslContext = nullptr;
171 boost::asio::io_context& ioContext() in ioContext()
177 std::shared_ptr<boost::asio::io_context> io;