umqtt.simple: README: Mention set_last_will().

pull/106/head
Paul Sokolovsky 2016-09-18 20:55:46 +03:00
rodzic a254329557
commit b5f9cd2581
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -54,6 +54,8 @@ follows MQTT control operations, and maps them to class methods:
* ``publish()`` - Publish a message. * ``publish()`` - Publish a message.
* ``subscribe()`` - Subscribe to a topic. * ``subscribe()`` - Subscribe to a topic.
* ``set_callback()`` - Set callback for received subscription messages. * ``set_callback()`` - Set callback for received subscription messages.
* ``set_last_will()`` - Set MQTT "last will" message. Should be called
*before* connect().
* ``wait_msg()`` - Wait for a server message. A subscription message will be * ``wait_msg()`` - Wait for a server message. A subscription message will be
delivered to a callback set with set_callback(), any other messages delivered to a callback set with set_callback(), any other messages
will be processed internally. will be processed internally.