1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-01 02:44:37 +01:00
actix-extras/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>,
}