SwiftMQTT
SwiftMQTT copied to clipboard
Session status connected/disconnected
Is there a way to have a permanent state of the session to show connected or disconnected?
In order to check this state to determine whether or not we need to reconnect to the broker.
As of Ver2.0.0, there is no property on MQTTSession
to identify whether the session is active or not.
PRs are welcome 😀