diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-02 18:36:06 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-02 18:36:06 -0600 |
| commit | 8cdfa445d6629ffef4cb84967ff7017654045bc2 (patch) | |
| tree | 22f0b0907c024c78d26a731e2e1f5219407d8102 /vendor/hyper/src/client/mod.rs | |
| parent | 4351c74c7c5f97156bc94d3a8549b9940ac80e3f (diff) | |
chore: add vendor directory
Diffstat (limited to 'vendor/hyper/src/client/mod.rs')
| -rw-r--r-- | vendor/hyper/src/client/mod.rs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/hyper/src/client/mod.rs b/vendor/hyper/src/client/mod.rs new file mode 100644 index 00000000..86e38973 --- /dev/null +++ b/vendor/hyper/src/client/mod.rs @@ -0,0 +1,22 @@ +//! HTTP Client +//! +//! hyper provides HTTP over a single connection. See the [`conn`] module. +//! +//! ## Examples +//! +//! * [`client`] - A simple CLI http client that requests the url passed in parameters and outputs the response content and details to the stdout, reading content chunk-by-chunk. +//! +//! * [`client_json`] - A simple program that GETs some json, reads the body asynchronously, parses it with serde and outputs the result. +//! +//! [`client`]: https://github.com/hyperium/hyper/blob/master/examples/client.rs +//! [`client_json`]: https://github.com/hyperium/hyper/blob/master/examples/client_json.rs + +#[cfg(test)] +mod tests; + +cfg_feature! { + #![any(feature = "http1", feature = "http2")] + + pub mod conn; + pub(super) mod dispatch; +} |
