Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Send a SUBSCRIBE packet to Broker to
create a Subscription to one or more Topics of interest.
template< typename CompletionToken = typename asio::default_completion_token<boost::mqtt5::mqtt_client::executor_type>::type> decltype(auto) async_subscribe( const std::vector<boost::mqtt5::subscribe_topic>& topics, const subscribe_props& props, CompletionToken&& token = {}); »more...
Send a SUBSCRIBE packet to Broker to
create a Subscription to one Topic of interest.
template< typename CompletionToken = typename asio::default_completion_token<boost::mqtt5::mqtt_client::executor_type>::type> decltype(auto) async_subscribe( constboost::mqtt5::subscribe_topic& topic, const subscribe_props& props, CompletionToken&& token = {}); »more...