1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-30 16:40:21 +02:00

Add Client::request_from

This commit is contained in:
Nikolay Kim
2019-03-26 23:25:24 -07:00
parent b7570b2476
commit b6b37d3ea3
3 changed files with 21 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ const HTTPS_ENCODING: &str = "gzip, deflate";
/// }
/// ```
pub struct ClientRequest {
head: RequestHead,
pub(crate) head: RequestHead,
err: Option<HttpError>,
#[cfg(feature = "cookies")]
cookies: Option<CookieJar>,