Crate h3_axum

Crate h3_axum 

Source
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