Crates.io | h2_wasi |
lib.rs | h2_wasi |
version | 0.3.15 |
source | src |
created_at | 2022-10-01 08:40:29.829251 |
updated_at | 2023-02-04 01:41:44.768557 |
description | An HTTP/2 client and server |
homepage | |
repository | https://github.com/WasmEdge/h2 |
max_upload_size | |
id | 677712 |
size | 781,991 |
A Tokio aware, HTTP/2 client & server implementation for Rust. Compiled to WebAssembly.
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_wasi = "0.3"
Next, add this to your crate:
extern crate h2;
use h2::server::Connection;
fn main() {
// ...
}