A Tokio aware, HTTP/2 client & server implementation for Rust.
More information about this crate can be found in the crate documentation.
This crate is intended to only be an implementation of the HTTP/2 specification. It does not handle:
This crate is now used by hyper, which will provide all of these features.
To use h2
, first add this to your Cargo.toml
:
[dependencies]
h2 = "0.3"
Next, add this to your crate:
extern crate h2;
use h2::server::Connection;
fn main() {
// ...
}
How does h2 compare to solicit or rust-http2?
The h2 library has implemented more of the details of the HTTP/2 specification than any other Rust library. It also passes the h2spec set of tests. The h2 library is rapidly approaching "production ready" quality.
Besides the above, Solicit is built on blocking I/O and does not appear to be actively maintained.
Is this an embedded Java SQL database engine?
No.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型