hivemq-mqtt-client icon indicating copy to clipboard operation
hivemq-mqtt-client copied to clipboard

Information about reconnect attempts

Open Sarek opened this issue 5 years ago • 0 comments

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".

Sarek avatar Apr 23 '20 14:04 Sarek