ringline-http
Async HTTP/1.1 and HTTP/2 client for the ringline io_uring runtime.
Features
- HTTP/2 over TLS with multiplexed streams (fire/recv API)
- HTTP/1.1 over TLS or plaintext with Content-Length and chunked transfer encoding
- Reqwest-style builder API (
client.get("/path").header(...).send().await) - Connection pool with round-robin dispatch and lazy reconnection
Usage
use HttpClient;
// HTTP/2
let mut client = connect_h2.await?;
let resp = client.get.send.await?;
// HTTP/1.1
let mut client = connect_h1.await?;
let resp = client.get.send.await?;