PrevUpHomeNext
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<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<executor_type>::type
>
decltype(auto) async_unsubscribe(
    const std::string & topic,
    const unsubscribe_props & props,
    CompletionToken && token = {}
);
  » more...

PrevUpHomeNext