1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-02-01 03:20:07 +01:00

27 lines
573 B
Rust
Raw Normal View History

2021-02-11 22:39:54 +00:00
//! HTTP client.
use http::Uri;
mod config;
2018-11-11 23:12:54 -08:00
mod connection;
mod connector;
mod error;
2019-01-28 20:41:09 -08:00
mod h1proto;
mod h2proto;
2018-11-11 23:12:54 -08:00
mod pool;
2021-02-18 04:30:09 -08:00
pub use actix_tls::connect::{
Connect as TcpConnect, ConnectError as TcpConnectError, Connection as TcpConnection,
};
pub use self::connection::{Connection, ConnectionIo};
pub use self::connector::{Connector, ConnectorService};
2019-09-12 21:52:46 +06:00
pub use self::error::{ConnectError, FreezeRequestError, InvalidUrl, SendRequestError};
pub use crate::Protocol;
#[derive(Clone)]
pub struct Connect {
pub uri: Uri,
pub addr: Option<std::net::SocketAddr>,
}