Gmqtt

Latest version: v0.6.16

Safety actively analyzes 627821 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.6.5

Subscription identifier from the `Subscription` object has not been used for building package's properties;

0.6.4

Fixed keep alive behaviour based on `last_data_in`, `last_data_out` properties

0.6.3

Changed time periods for keepalive check (better behaviour on MacOS)

0.6.2

Close connection when lost heartbeat

0.6.1

Fix `write_data` after `connection_close` in python 3.8

0.6.0

Client now stores it's subscriptions
* `on_subscribe` callback signature has changed, argument properties has beed added: `on_subscribe(client, mid, qos, properties)`
* `client.subscriptions` - list of subscriptions
* `client.get_subscriptions_by_mid(mid)` - get list of subscriptions with certain message identifier. May be useful in `on_subscribe` callback in order to handle (un-)successful subscription. Note that after `on_subscribe` is finished, mid is freed and can be used in other messages, so it's also removed from subscriptions.
* `client.get_subscription_by_identifier(subscription_identifier)` - get list of subscriptions with certain subscription identifier. May be useful in `on_message` callback.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.