Open source

Client.reconnect()

Attempts to reconnect to the MQTT broker using the same connection parameters as the last successful connection.

Signature

JavaScript
client.reconnect()