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

21 lines
409 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;
pub use self::error::{ConnectError, InvalidUrl, SendRequestError, FreezeRequestError};
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>,
}