1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-22 05:35:08 +02:00

move high level client code from actix-http

This commit is contained in:
Nikolay Kim
2019-03-26 11:41:38 -07:00
parent 999fa65efa
commit b254113d9f
6 changed files with 139 additions and 20 deletions

View File

@@ -1,9 +1,7 @@
use std::cell::RefCell;
use std::rc::Rc;
pub use actix_http::client::{
ClientResponse, ConnectError, InvalidUrl, SendRequestError,
};
pub use actix_http::client::{ConnectError, InvalidUrl, SendRequestError};
pub use actix_http::http;
use actix_http::client::Connector;
@@ -12,9 +10,11 @@ use actix_http::http::{HttpTryFrom, Method, Uri};
mod builder;
mod connect;
mod request;
mod response;
pub use self::builder::ClientBuilder;
pub use self::request::ClientRequest;
pub use self::response::ClientResponse;
use self::connect::{Connect, ConnectorWrapper};