@@ -204,8 +204,8 @@ def will_set(self, topic=None, payload=None, qos=0, retain=False):
204
204
:param int,float,str payload: Last will disconnection payload.
205
205
payloads of type int & float are converted to a string.
206
206
:param int qos: Quality of Service level, defaults to
207
- zero. Conventional options are ``0`` (send at least once), ``1``
208
- (send at most once), or ``2`` (send exactly once).
207
+ zero. Conventional options are ``0`` (send at most once), ``1``
208
+ (send at least once), or ``2`` (send exactly once).
209
209
210
210
.. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
211
211
:param bool retain: Specifies if the payload is to be retained when
@@ -418,8 +418,8 @@ def publish(self, topic, msg, retain=False, qos=0):
418
418
:param str,int,float msg: Data to send to the broker.
419
419
:param bool retain: Whether the message is saved by the broker.
420
420
:param int qos: Quality of Service level for the message, defaults to
421
- zero. Conventional options are ``0`` (send at least once), ``1``
422
- (send at most once), or ``2`` (send exactly once).
421
+ zero. Conventional options are ``0`` (send at most once), ``1``
422
+ (send at least once), or ``2`` (send exactly once).
423
423
424
424
.. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
425
425
@@ -524,8 +524,8 @@ def subscribe(self, topic, qos=0):
524
524
element should be a tuple containing a topic identifier string and
525
525
qos level integer.
526
526
:param int qos: Quality of Service level for the topic, defaults to
527
- zero. Conventional options are ``0`` (send at least once), ``1``
528
- (send at most once), or ``2`` (send exactly once).
527
+ zero. Conventional options are ``0`` (send at most once), ``1``
528
+ (send at least once), or ``2`` (send exactly once).
529
529
530
530
.. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
531
531
0 commit comments