Searched refs:select_next_proto (Results 1 – 3 of 3) sorted by relevance
459 ssl::select_next_proto(b"\x08http/1.1\x08spdy/3.1", client).ok_or(ssl::AlpnError::NOACK) in test_alpn_server_advertise_multiple()474 ssl::select_next_proto(b"\x08http/1.1\x08spdy/3.1", client) in test_alpn_server_select_none_fatal()493 ssl::select_next_proto(b"\x08http/1.1\x08spdy/3.1", client).ok_or(ssl::AlpnError::NOACK) in test_alpn_server_select_none()
735 * The `ssl::select_next_proto` function can be used to easily implement the ALPN selection callback
685 pub fn select_next_proto<'a>(server: &[u8], client: &'a [u8]) -> Option<&'a [u8]> { in select_next_proto() function