void myqtt_conn_set_on_reconnect ( MyQttConn conn,
MyQttOnReconnect  on_reconnect,
axlPointer  on_reconnect_data 
)

Allows to configure a handler that is called in the case a reconnect operation took place and finished without error.

Parameters
connThe connection that was reconnected.
on_reconnectThe handler that will be called on reconnect.
on_reconnect_dataA user defined pointer that is passed in into the handler configured when it is called.