http_req/
lib.rs

1//!Simple HTTP client with built-in HTTPS support.
2//!Currently it's in heavy development and may frequently change.
3//!
4//!## Example
5//!Basic GET request
6//!```
7//!use http_req::request;
8//!
9//!fn main() {
10//!    let mut writer = Vec::new(); //container for body of a response
11//!    let res = request::get("https://doc.rust-lang.org/", &mut writer).unwrap();
12//!
13//!    println!("Status: {} {}", res.status_code(), res.reason());
14//!}
15//!```
16pub mod error;
17pub mod request;
18pub mod response;
19#[cfg(feature = "wasmedge_rustls")]
20pub mod tls;
21pub mod uri;
22
23mod chunked;