Expand description
§iroh-h3: HTTP/3 support over iroh P2P connections
iroh-h3 provides low-level integration for running HTTP/3 over
iroh peer-to-peer QUIC connections.
It implements the traits required by the h3 crate on top of iroh
connections and streams. This crate is intended for internal use in building
HTTP/3 over P2P layers.
§License
This crate is MIT licensed. Portions of the code are derived from
hyperium/h3 and are reproduced under
the original MIT license terms.
Structs§
- Accept
Bi - Future produced by
Connection::accept_bi - Accept
Uni - Future produced by
Connection::accept_uni - Bidi
Stream - A bidirectional QUIC stream that contains both send and receive halves.
- Connection
- A wrapper around an
iroh::endpoint::Connectionthat implements theh3::quic::Connectiontrait for use in HTTP/3 over QUIC. - Endpoint
- Controls an iroh endpoint, establishing connections with other endpoints.
- OpenBi
- Future produced by
Connection::open_bi - Open
Streams - A handle for opening outgoing QUIC streams.
- OpenUni
- Future produced by
Connection::open_uni - Recv
Stream - A receiving QUIC stream that reads ordered chunks of data.
- Send
Stream - A sending QUIC stream that transmits buffered data.
- VarInt
- An integer less than 2^62