Function esp_idf_sys::esp_transport_ssl_set_alpn_protocol
source ยท pub unsafe extern "C" fn esp_transport_ssl_set_alpn_protocol(
t: esp_transport_handle_t,
alpn_protos: *mut *const c_char,
)
Expand description
@brief Set the list of supported application protocols to be used with ALPN. Note that, this function stores the pointer to data, rather than making a copy. So this data must remain valid until after the connection is cleaned up
@param t ssl transport @param[in] alpn_porot The list of ALPN protocols, the last entry must be NULL