awc/CHANGES.md
WebsocketsRequest via camel_case_headers() and set_camel_case_headers(). #3953GO_AWAY errors did not stop connections from returning to the pool.hickory-dns crate feature (off-by-default).trust-dns crate feature now delegates DNS resolution to hickory-dns.brotli dependency to 8.Host header on HTTP/2 requests, as it is not required, and some web servers may reject it.brotli dependency to 7.Host request header value when using a non-default port.rustls-0_23, rustls-0_23-webpki-roots, and rustls-0_23-native-roots crate features.awc::Connector::rustls_0_23() constructor.rustls-0_22-native-roots root store lookup.brotli dependency to 6.rustls-0_22-webpki-roots and rustls-0_22-native-roots crate feature.awc::Connector::rustls_0_22() method.trust-dns-resolver dependency to 0.23.zstd dependency to 0.13.awc::Connector::rustls_021() method for Rustls v0.21 support behind new rustls-0_21 crate feature.rustls-0_20 crate feature, which the existing rustls feature now aliases.time dependency.client::Connect is now public to allow tunneling connection with client::Connector.time dependency.time dependency.//. #2840actix-* to Tokio v1-based versions. #1813bytes to 1.0. #1813cookie to 0.16. #2555rand to 0.8.rustls to 0.20. #2414tokio to 1.trust-dns crate feature to enable trust-dns-resolver as client DNS resolver; disabled by default. #1969cookies crate feature; enabled by default. [#2619]compress-brotli crate feature; enabled by default. #2250compress-gzip crate feature; enabled by default. #2250compress-zstd crate feature; enabled by default. #2250client::Connector::handshake_timeout() for customizing TLS connection handshake timeout. #2081client::ConnectorService as client::Connector::finish method's return type #2081client::ConnectionIo trait alias #2081Client::headers() to get default mut reference of HeaderMap of client object. #2114ClientResponse::timeout() for set the timeout of collecting response body. #1931ClientBuilder::local_address() for binding to a local IP address for this client. #2024ClientRequest::insert_header() method which allows using typed and untyped headers. #1869ClientRequest::append_header() method which allows using typed and untyped headers. #1869ClientBuilder::add_default_header() (and deprecate ClientBuilder::header()). #2510client::Connector type now only has one generic type for actix_service::Service. #2063client::error::ConnectError Resolver variant contains Box<dyn std::error::Error> type. #1905client::ConnectorConfig default timeout changed to 5 seconds. #1905ConnectorService type is renamed to BoxConnectorService. #2081compress feature. #2116TestResponse::{header => append_header, set => insert_header}. These methods now take a TryIntoHeaderPair. #2094ClientBuilder::connector() method now takes Connector<T, U> type. #2008Option. #2050Connector to 5 seconds (up from 1 second). #1905*::send_json() and *::send_form() methods now receive impl Serialize. #2553FrozenClientRequest::extra_header() now uses receives an impl TryIntoHeaderPair. #2553Connector::{ssl => openssl}(). #2503ClientRequest::send_body now takes an impl MessageBody. #2546MessageBody => ResponseBody to avoid conflicts with MessageBody trait. #2546Client instantiation efficiency when using openssl by only building connectors once. #2503Unpin bounds on *::send_stream. #2553impl Future for ResponseBody no longer requires the body type be Unpin. #2546impl Future for JsonBody no longer requires the body type be Unpin. #2546impl Stream for ClientResponse no longer requires the body type be Unpin. #2546compress crate feature. #2250ClientRequest::set; use ClientRequest::insert_header. #1869ClientRequest::set_header; use ClientRequest::insert_header. #1869ClientRequest::set_header_if_none; use ClientRequest::insert_header_if_none. #1869ClientRequest::header; use ClientRequest::append_header. #1869ClientRequest: if_true, if_some. #2148ClientBuilder::default function #2008cookie upgrade addresses RUSTSEC-2020-0071.3.0.0-beta.20.3.0.0-beta.19.3.0.0-beta.18.cookie dependency (re-exported) to 0.16. #2555cookie upgrade addresses RUSTSEC-2020-0071.*::send_json and *::send_form methods now receive impl Serialize. #2553FrozenClientRequest::extra_header now uses receives an impl TryIntoHeaderPair. #2553Unpin bounds on *::send_stream. #2553Connector::{ssl => openssl}. #2503Client instantiation efficiency when using openssl by only building connectors once. #2503ClientRequest::send_body now takes an impl MessageBody. #2546MessageBody => ResponseBody to avoid conflicts with MessageBody trait. #2546impl Future for ResponseBody no longer requires the body type be Unpin. #2546impl Future for JsonBody no longer requires the body type be Unpin. #2546impl Stream for ClientResponse no longer requires the body type be Unpin. #2546ClientBuilder::add_default_header and deprecate ClientBuilder::header. #25103.0.0-beta.12.actix-tls to 3.0.0-rc.1. #24743.0.0-beta.10.3.0.0-beta.9.ClientRequest: if_true, if_some. #2148Client::headers to get default mut reference of HeaderMap of client object. #2114ConnectorService type is renamed to BoxConnectorService. #2081compress feature. #2116TestResponse::header to append_header, set to insert_header. TestResponse header methods now take TryIntoHeaderPair tuples. #2094ClientResponse::timeout for set the timeout of collecting response body. #1931ClientBuilder::local_address for bind to a local ip address for this client. #2024cookies is now optional and enabled by default. #1981ClientBuilder::connector method would take actix_http::client::Connector<T, U> type. #2008ClientBuilder::default function #2008ClientRequest::insert_header method which allows using typed headers. #1869ClientRequest::append_header method which allows using typed headers. #1869trust-dns optional feature to enable trust-dns-resolver as client dns resolver. #1969Connector to 5 seconds(original 1 second). #1905ClientRequest::set; use ClientRequest::insert_header. #1869ClientRequest::set_header; use ClientRequest::insert_header. #1869ClientRequest::set_header_if_none; use ClientRequest::insert_header_if_none. #1869ClientRequest::header; use ClientRequest::append_header. #1869actix-http dependency uses same serde_urlencoded.serde_urlencoded to 0.7. #1773Accept-Encoding: identity instead of Accept-Encoding: br when no compression feature is enabled #1737Client::build was renamed to Client::builder.rustls to 0.18actix-http dependency to 2.0.0-beta.2actix-http dependency to 2.0.0-beta.1std::error::Error for our custom errors #1422base64 dependency to 0.12actix-http dependency to 2.0.0-alpha.2rustls dependency to 0.17std::futureClientRequest's private head field #1101FrozenClientRequest to support retries for sending HTTP requestsHost header is set when initiating a WebSocket client connection.Update percent-encoding to "2.1"
Update serde_urlencoded to "0.6.1"
rustls supportAlways append a colon after username in basic auth
Upgrade rand dependency version to 0.7
Camel-Case form.ClientRequest::if_true() and ClientRequest::if_some() use instance instead of refExport MessageBody type
ClientResponse::json() - Loads and parse application/json encoded body
ClientRequest::json() accepts reference instead of object.
ClientResponse::body() does not consume response object.
Renamed ClientRequest::close_connection() to ClientRequest::force_close()
Per request and session wide request timeout.
Session wide headers.
Session wide basic and bearer auth.
Re-export actix_http::client::Connector.
Allow to override request's uri
Export ws sub-module with websockets related types