typedef void(* MyQttOnReconnect)(MyQttConn *connection, axlPointer data)

Allows to set a handler that will be called when a reconnect operation took place.

This method could be used to establish some especial actions to be taken before the connection is completely reconnected.

This handler is used by:

connectionThe connection that was reconnected.
dataUser defined pointer passed to the handler and configured at myqtt_conn_set_on_reconnect