Asynchronous HTTP client.
This crate provides a simple HTTP client and is built on top of async-std.
- Fully streaming requests and responses
- TLS/SSL enabled by default
- Relay through HTTP proxy or UNIX socket
Example:
;
// request
let mut req = parse_url.unwrap;
req.set_method;
// response
let mut res = req.send.await?;
let data = res.recv.await.unwrap;