Expand description
§h3-axum
Transport your Axum router over HTTP/3.
Use your existing Axum handlers, extractors, and middleware with HTTP/3/QUIC without changing your application code.
§Quick Start
ⓘ
use h3_axum::serve_h3_with_axum;
// Your normal Axum router (unchanged!)
let app = Router::new()
.route("/", get(handler));
// Serve it over H3 (one line)
serve_h3_with_axum(app, resolver).await?;Functions§
- is_
graceful_ h3_ close - Check if an H3 connection error represents a graceful close.
- serve_
h3_ with_ axum - Serve an Axum Router over an H3 request.
Type Aliases§
- BoxError
- Boxed error type