Skip to main content

Crate iroh_h3

Crate iroh_h3 

Source
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§

AcceptBi
Future produced by Connection::accept_bi
AcceptUni
Future produced by Connection::accept_uni
BidiStream
A bidirectional QUIC stream that contains both send and receive halves.
Connection
A wrapper around an iroh::endpoint::Connection that implements the h3::quic::Connection trait for use in HTTP/3 over QUIC.
Endpoint
Controls an iroh endpoint, establishing connections with other endpoints.
OpenBi
Future produced by Connection::open_bi
OpenStreams
A handle for opening outgoing QUIC streams.
OpenUni
Future produced by Connection::open_uni
RecvStream
A receiving QUIC stream that reads ordered chunks of data.
SendStream
A sending QUIC stream that transmits buffered data.
VarInt
An integer less than 2^62