An HTTP library for Rust
rt::bounds
(#3127) (fc9f3070, closes #2051, #3097)hyper::client::conn::Http2::Builder::new
now requires an executor argument.
(8068aa01)hyper::client::conn::http1::Builder::executor()
is removed, since it did nothing.
(1de9accf)to_bytes
(4d89adce)http2_max_header_list_size
to hyper::server::Builder
(#3006) (031425f0)server::conn::http2::Builder::with_executor()
(ab59a6f7)Timer
have been changed.
(8790fee7)Frame::into_data()
and Frame::into_trailers()
have been changed from Option<T>
to Result<T, Self>
.Builder
s have have their names changed, removing the version prefix (e.g. http1_writev()
becomes writev()
).socket2
dependency.http1_header_read_timeout
to use same future (#2891) (c5a14e7c)Server::tcp_keepalive_interval
and Server::tcp_keepalive_retries
(#2991) (287d7124)stream
cargo feature (#2896) (ce72f734, closes #2855)Service
trait (#2920) (fee7d361, closes #2853)The polling functions of the Body
trait have been
redesigned.
The free functions hyper::body::to_bytes
and aggregate
have been
removed. Similar functionality is on
http_body_util::BodyExt::collect
.
(0888623d)
Either choose a version-specific Connection
type, or
look for the auto-version type in hyper-util
.
(0766d3f7)
Pick a version-specific connection, or use the combined
one in hyper-util
.
(8ae73cac)
Change any manual impl tower::Service
to implement hyper::service::Service
instead. The poll_ready
method has been removed.
(fee7d361)
The trait has been renamed. (031454e5)
A channel body will be available in hyper-util
.
(d963e6a9)
Use the types from http-body-util
.
(9e8fc8fc)
Use connect
from hyper-util
.
(5e206883)
A pooling client is in the hyper-util crate. (bb3af17c)
Tower Service
utilities will exist in hyper-util
.
(889fa2d8)
http1_header_read_timeout
to use same future (#2891) (c5a14e7c)hyper_clientconn_options_new
no longer sets the http1_preserve_header_case
connection option by default.
Users should now call hyper_clientconn_options_set_preserve_header_case
if they desire that functionality. (78de8914)