mtp/mtp-webserver/src/lib.rs
Alex Emmet 1c3139e5a7
Some checks failed
CI / checks (push) Failing after 4m21s
General Upgrade, NEW: WebServers, Better Docs
2026-07-18 14:17:34 +02:00

20 lines
690 B
Rust

//! HTTP/3 routing primitives and the combined MTP web-server API.
//!
//! The public routing API is transport-independent. The HTTP/3 driver is
//! intentionally kept behind the crate's implementation boundary so callers
//! do not need to depend on a particular QUIC implementation.
mod error;
mod router;
mod server;
mod stream;
mod transport;
pub use error::WebServerError;
pub use router::{HttpHandler, Router, RouterError};
pub use server::{MTPWebServer, WebServerConfig, WebServerMetrics};
pub use stream::{Http3Request, Http3Response};
pub use transport::{
H3TransportConnection, H3TransportReceiver, H3TransportSender, WebMTPConnection,
WebMtpReceiver, WebMtpSender,
};