wasi-http-client 0.2.1

HTTP client library for WASI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# wasi-http-client

HTTP client library for [WASI Preview 2](https://github.com/WebAssembly/WASI/tree/main/preview2),
making it easier to send http(s) requests in WASI components.

```rust
let resp = Client::new()
    .post("https://httpbin.org/post")
    .connect_timeout(Duration::from_secs(5))
    .send()?;

println!("status code: {}", resp.status());
```