We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5a8da commit c82e964Copy full SHA for c82e964
src/lib.rs
@@ -4,19 +4,20 @@
4
//! which relies on TLS framework provided by OS on Windows and macOS, and OpenSSL
5
//! on all other platforms. But it also supports [rus-tls](https://crates.io/crates/rustls).
6
//!
7
-//! ## Example
+//! ## Examples
8
//! Basic GET request
9
//! ```
10
//! use http_req::request;
11
12
//! fn main() {
13
-//! //Container for body of a response
+//! // Container for body of a response
14
//! let mut body = Vec::new();
15
//! let res = request::get("https://doc.rust-lang.org/", &mut body).unwrap();
16
17
//! println!("Status: {} {}", res.status_code(), res.reason());
18
//! }
19
20
+
21
pub mod chunked;
22
pub mod error;
23
pub mod request;
0 commit comments