Skip to content

Latest commit

 

History

962 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http2

A Tokio aware, HTTP/2 client & server implementation for Rust.

License: MIT Crates.io Documentation

More information about this crate can be found in the crate documentation.

Features

  • Client and server HTTP/2 implementation.
  • Implements the full HTTP/2 specification.
  • Passes h2spec.
  • Focus on performance and correctness.
  • Pseudo-header permutation for headers frame
  • Experimental and permuted settings frame
  • Priority frame (client-side only)
  • Built on Tokio.

Usage

To use http2, first add this to your Cargo.toml:

[dependencies]
http2 = "0.5"

Next, add this to your crate:

use http2::client::Connection;

fn main() {
    // ...
}

License

Licensed under either of Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Accolades

The project is based on a fork of h2.

About

HTTP/2 library written in Rust

Topics

Resources

Contributing

Stars

20 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages