hivemq-mqtt-client
hivemq-mqtt-client copied to clipboard
Information about reconnect attempts
Problem or use case
As an application, I would like to get informed about reconnection attempts performed automatically by the library (e.g., for logging purposes or for providing connection status updates)
Preferred solution or suggestions
The application could supply a callback that is called whenever a connection attempt is started, similar to the already existing callbacks for "Connection was established" and "Connection was lost".