typedef void(* MyQttConnNew)(MyQttConn *connection, axlPointer user_data)

Async notification for connection creation process.

Functions using this handler:

Optional handler defined to report the final status for a myqtt_conn_new process. This handler allows to create a new connection to a myqtt server in a non-blocking way.

Once the connection creation process have finished, no matter which is the final result, the handler is invoked.

connectionThe connection created (or not, check myqtt_conn_is_ok).
user_datauser defined data passed in to this async notifier.