//! ALPN / subprotocol negotiation helpers shared by TLS and WebSocket transports.
use crate::;
/// Build the list of ALPN/subprotocol strings from application protocols.
///
/// For each app protocol, offers both `qmux-00.{proto}` and `webtransport.{proto}`.
/// Also includes bare `qmux-00` and `webtransport` as fallbacks.
///
/// Returns strings suitable for TLS ALPN or WebSocket `Sec-WebSocket-Protocol`.
pub