File indexing completed on 2025-09-17 08:38:23
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_MQTT5_SSL_HPP
0009 #define BOOST_MQTT5_SSL_HPP
0010
0011 #include <boost/mqtt5/detail/async_traits.hpp>
0012 #include <boost/mqtt5/detail/shutdown.hpp>
0013
0014 #include <boost/mqtt5/types.hpp>
0015
0016 #include <boost/asio/ssl.hpp>
0017
0018 namespace boost::mqtt5 {
0019
0020 namespace detail {
0021
0022
0023 template <typename Stream, typename ShutdownHandler>
0024 void async_shutdown(
0025 boost::asio::ssl::stream<Stream>& stream, ShutdownHandler&& handler
0026 ) {
0027 stream.async_shutdown(std::move(handler));
0028 }
0029
0030 }
0031
0032 }
0033
0034 #endif