Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
boost::mqtt5::mqtt_client::async_unsubscribe

Send an UNSUBSCRIBE packet to Broker to unsubscribe from one or more Topics.

template<
    typename CompletionToken = typename asio::default_completion_token<boost::mqtt5::mqtt_client::executor_type>::type>
decltype(auto)
async_unsubscribe(
    const std::vector< std::string >& topics,
    const unsubscribe_props& props,
    CompletionToken&& token = {});
  » more...

Send an UNSUBSCRIBE packet to Broker to unsubscribe from one Topic.

template<
    typename CompletionToken = typename asio::default_completion_token<boost::mqtt5::mqtt_client::executor_type>::type>
decltype(auto)
async_unsubscribe(
    const std::string& topic,
    const unsubscribe_props& props,
    CompletionToken&& token = {});
  » more...

PrevUpHomeNext