Expand description
§iroh-h3-axum
This crate provides an integration between the Axum web framework and the
iroh peer-to-peer library using HTTP/3.
It allows you to serve Axum routers over iroh, reusing connections and
handling multiple concurrent HTTP/3 streams efficiently.
§Features
- Serve HTTP/3 endpoints using Axum routes
- Wrap QUIC streams as Axum-compatible request bodies
- Stream response bodies over HTTP/3
- Provide access to the remote iroh endpoint ID via request extensions
Structs§
- Iroh
Axum - An HTTP/3 protocol handler that serves an
axum::Routerover iroh. - Remote
Id - An Axum request extractor for the remote endpoint ID.