h3 icon indicating copy to clipboard operation
h3 copied to clipboard

h3

License: MIT CI Discord chat

This crate provides an HTTP/3 implementation that is generic over a provided QUIC transport. This allows the project to focus on just HTTP/3, while letting users pick their QUIC implementation based on their specific needs. It includes client and server APIs. Check the original design for more details.

Status

The h3 crate is still very experimental. While the client and servers do work, there may still be bugs. And the API could change as we continue to explore. That said, we eagerly welcome contributions, trying it out in test environments, and using at your own risk.

The eventual goal is to use h3 as an internal dependency of hyper.

Getting Started

The examples directory can help get started in two ways:

  • There are ready-to-use client and server binaries to interact with other HTTP/3 peers. Check the README in that directory.
  • The source code of those examples can help teach how to use h3 as either a client or a server.

QUIC Generic

As mentioned, the goal of this library is to be generic over a QUIC implementation. To that effect, integrations with QUIC libraries exist:

License

h3 is provided under the MIT license. See LICENSE.