SwiftMQTT icon indicating copy to clipboard operation
SwiftMQTT copied to clipboard

Session status connected/disconnected

Open netgfx opened this issue 8 years ago • 1 comments

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.

netgfx avatar Oct 18 '16 07:10 netgfx

As of Ver2.0.0, there is no property on MQTTSession to identify whether the session is active or not.

PRs are welcome 😀

bhargavg avatar Nov 16 '16 10:11 bhargavg