From 5454f1c4110dcea2b03e217d78fcc73c36f8266a Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 11 Sep 2022 15:42:53 +0200 Subject: [PATCH] chore(interface): document that unsubscribe removes all subscriptions on that exact topic --- include/TrueMQTT.h | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/include/TrueMQTT.h b/include/TrueMQTT.h index e484840..ec6e334 100644 --- a/include/TrueMQTT.h +++ b/include/TrueMQTT.h @@ -250,6 +250,8 @@ namespace TrueMQTT * @param topic The topic to unsubscribe from. * * @note If you unsubscribe from a topic you were not subscribed too, nothing happens. + * @note This unsubscribes all subscriptions on this exact topic. It is not possible + * to only unsubscribe from a single subscription on the same exact topic. * @note You cannot unsubscribe from a topic if you are disconnected from the broker. * Call \ref connect (and \ref subscribe) first. * @note This function can stall for a short moment if you publish just at the -- libgit2 0.21.4