const char * myqtt_conn_get_client_id ( MyQttConn conn)

Allows to get the client id used during CONNECT phase on the provided connection.

Parameters
connThe connection where the operation takes place.
Returns
The client id used or NULL if the CONNECT phase didn't provide a client id. The function also reports NULL when conn reference received is NULL.