Function esp_idf_svc::hal::sys::esp_transport_ssl_set_alpn_protocol

source ยท
pub unsafe extern "C" fn esp_transport_ssl_set_alpn_protocol(
    t: *mut esp_transport_item_t,
    alpn_protos: *mut *const i8,
)
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