1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-25 08:52:42 +01:00
actix-web/actix-http/src/client/mod.rs

21 lines
389 B
Rust
Raw Normal View History

//! Http client api
use http::Uri;
2018-11-12 08:12:54 +01:00
mod connection;
mod connector;
mod error;
2019-01-29 05:41:09 +01:00
mod h1proto;
mod h2proto;
2018-11-12 08:12:54 +01:00
mod pool;
2019-01-29 19:34:27 +01:00
pub use self::connection::Connection;
2018-11-12 08:12:54 +01:00
pub use self::connector::Connector;
2019-03-13 22:41:40 +01:00
pub use self::error::{ConnectError, InvalidUrl, SendRequestError};
2019-04-08 20:09:57 +02:00
pub use self::pool::Protocol;
#[derive(Clone)]
pub struct Connect {
pub uri: Uri,
pub addr: Option<std::net::SocketAddr>,
}