Skip to content
0x676e67Public

About

HTTP/2 library written in Rust

Topics

Resources

Contributing

Stars

22 stars

Watchers

1 watching

Forks

Latest commit

 

History

1,013 Commits

Folders and files

Repository files navigation

http2

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

CI GitHub License Crates.io

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.
  • Permuted settings frame & Priority frame.
  • Continues the h2 codebase, tracking upstream changes.

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.

About

HTTP/2 library written in Rust

Topics

Resources

Contributing

Stars

22 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages