axl_bool vortex_connection_is_profile_supported ( VortexConnection connection,
const char *  uri 
)

Allows to check if the given profile is supported by the remote peer.

This function allows to check if the profile identified by uri is supported by remote peer connected to by connection.

You can use this function to check, before creating a channel, if remote peer will support this profile.

Parameters
connectionthe connection to check.
urithe profile identified by the string uri to check.
Returns
axl_true if the profile is supported by remote peer or axl_false if not.

References vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_tls_start_negotiation().