1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
mod async_client;
pub mod blocking;
mod connector;
mod error;
mod shared_body;
pub use self::async_client::*;
pub use self::connector::{
ConnectError, HttpConnection, HttpConnector, HyperConnectorAdapter, NetworkConnection,
NetworkConnector,
};
#[cfg(feature = "tokio-native-tls")]
pub use self::connector::{HttpOrHttpsConnection, HttpsConnector};
pub use self::error::Error;
pub use self::shared_body::SharedBody;
pub use hyper::body::{aggregate, to_bytes, Buf, Bytes, HttpBody};
pub use hyper::{self, Method, StatusCode, Uri, Version};
pub type Request = hyper::Request<SharedBody>;
pub type Response = hyper::Response<hyper::Body>;