mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
21 lines
389 B
Rust
21 lines
389 B
Rust
//! Http client api
|
|
use http::Uri;
|
|
|
|
mod connection;
|
|
mod connector;
|
|
mod error;
|
|
mod h1proto;
|
|
mod h2proto;
|
|
mod pool;
|
|
|
|
pub use self::connection::Connection;
|
|
pub use self::connector::Connector;
|
|
pub use self::error::{ConnectError, InvalidUrl, SendRequestError};
|
|
pub use self::pool::Protocol;
|
|
|
|
#[derive(Clone)]
|
|
pub struct Connect {
|
|
pub uri: Uri,
|
|
pub addr: Option<std::net::SocketAddr>,
|
|
}
|