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