Expand description
Unified listener β one UDP endpoint that accepts both raw-QUIC MoQT and WebTransport clients, dispatching per connection based on the ALPN the client negotiated during the TLS handshake.
Re-exportsΒ§
use std::net::SocketAddr;πuse std::sync::Arc;πuse moqtap_codec::version::DraftVersion;πuse rustls::pki_types::CertificateDer;πuse rustls::pki_types::PrivateKeyDer;πuse crate::error::ProxyError;πuse crate::transport;πuse crate::transport::TransportInstaller;πuse crate::transport::TransportProfile;πuse crate::types::Leg;π
StructsΒ§
- Handshake
- A client connection whose handshake has not finished. Produced by
Listener::accept_handshake. - Listener
- A transport-agnostic MoQT listener that accepts both raw-QUIC and WebTransport clients on the same UDP port.
- Listener
Config - Configuration for the proxyβs listener.
EnumsΒ§
- Accepted
Conn - A client connection that has completed its handshake and is ready for MoQT session handling.
- Client
Request - A client whose handshake has finished. A WebTransport request is still waiting for its answer.
- Rejection
- How a request is refused.
ConstantsΒ§
- H3_ALPN π
- WebTransport ALPN identifier.
FunctionsΒ§
- advertised_
alpns π - Build the ALPN list the server advertises to clients β every MoQT
QUIC ALPN we support, plus
h3when the WebTransport feature is on.