File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2458,7 +2458,7 @@ def on_connect(self) -> CallbackOnConnect | None:
24582458 :param Client client: the client instance for this callback
24592459 :param userdata: the private user data as set in Client() or user_data_set()
24602460 :param ConnectFlags connect_flags: the flags for this connection
2461- :param ReasonCode reason_code: the connection reason code received from the broken .
2461+ :param ReasonCode reason_code: the connection reason code received from the broker .
24622462 In MQTT v5.0 it's the reason code defined by the standard.
24632463 In MQTT v3, we convert return code to a reason code, see
24642464 `convert_connack_rc_to_reason_code()`.
@@ -2642,7 +2642,7 @@ def on_publish(self) -> CallbackOnPublish | None:
26422642 :param userdata: the private user data as set in Client() or user_data_set()
26432643 :param int mid: matches the mid variable returned from the corresponding
26442644 `publish()` call, to allow outgoing messages to be tracked.
2645- :param ReasonCode reason_code: the connection reason code received from the broken .
2645+ :param ReasonCode reason_code: the connection reason code received from the broker .
26462646 In MQTT v5.0 it's the reason code defined by the standard.
26472647 In MQTT v3 it's always the reason code Success
26482648 :parama Properties properties: the MQTT v5.0 properties received from the broker.
You can’t perform that action at this time.
0 commit comments