webtrans-quinn 0.1.0

Native WebTransport implementation built on top of QUIC using Quinn.
Documentation
//! Native WebTransport implementation built on top of QUIC using Quinn.
//!
//! This crate provides a low-level, QUIC WebTransport API for native environments. 
//! 
//! The implementation is powered by [`quinn`], and most transport-level
//! behavior (congestion control, flow control, crypto, etc.) is delegated
//! directly to Quinn.

mod client;
mod error;
mod recv;
mod send;
mod server;
mod session;
pub mod tls;

pub use client::*;
pub use error::*;
pub use recv::*;
pub use send::*;
pub use server::*;
pub use session::*;

mod connect;
mod settings;

use connect::*;
use settings::*;

/// The HTTP/3 ALPN token used when negotiating a QUIC connection.
pub const ALPN: &str = "h3";

// Export the simple crypto provider.
pub mod crypto;

// Re-export the underlying QUIC implementation.
pub use quinn;

// Re-export the `rustls` crate because it is part of the public API.
pub use rustls;

// Re-export the `http` crate because it is part of the public API.
pub use http;

// Re-export the generic WebTransport traits.
pub use webtrans_trait as generic;