Skip to content

Commit b5f9cd2

Browse files
committed
umqtt.simple: README: Mention set_last_will().
1 parent a254329 commit b5f9cd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

umqtt.simple/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ follows MQTT control operations, and maps them to class methods:
5454
* ``publish()`` - Publish a message.
5555
* ``subscribe()`` - Subscribe to a topic.
5656
* ``set_callback()`` - Set callback for received subscription messages.
57+
* ``set_last_will()`` - Set MQTT "last will" message. Should be called
58+
*before* connect().
5759
* ``wait_msg()`` - Wait for a server message. A subscription message will be
5860
delivered to a callback set with set_callback(), any other messages
5961
will be processed internally.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy