Lines Matching full:http2
59 #[cfg(all(feature = "backports", feature = "http2"))]
60 pub mod http2; module
62 #[cfg(not(all(feature = "http1", feature = "http2")))]
67 #[cfg(not(all(feature = "http1", feature = "http2")))]
73 #[cfg(all(feature = "runtime", feature = "http2"))]
100 #[cfg(feature = "http2")]
103 #[cfg(not(feature = "http2"))]
130 …will be replaced with `client::conn::http1::handshake` and `client::conn::http2::handshake` in 1.0…
148 …ll be replaced with `client::conn::http1::SendRequest` and `client::conn::http2::SendRequest` in 1…
163 …ill be replaced with `client::conn::http1::Connection` and `client::conn::http2::Connection` in 1.…
181 …e will be replaced with `client::conn::http1::Builder` and `client::conn::http2::Builder` in 1.0, …
197 #[cfg(feature = "http2")]
206 #[cfg(feature = "http2")]
207 Http2, enumerator
246 // A `SendRequest` that can be cloned to send HTTP2 requests.
249 #[cfg(feature = "http2")]
282 #[cfg(feature = "http2")]
403 #[cfg(feature = "http2")]
414 #[cfg(feature = "http2")]
446 #[cfg(feature = "http2")]
453 #[cfg(feature = "http2")]
487 panic!("http2 cannot into_inner"); in into_parts()
510 #[cfg(feature = "http2")] in poll_without_shutdown()
515 #[cfg(not(feature = "http2"))] in poll_without_shutdown()
539 #[cfg(feature = "http2")]
608 #[cfg(feature = "http2")] in new()
613 version: Proto::Http2, in new()
617 /// Provide an executor to execute background HTTP2 tasks.
820 /// Sets whether HTTP2 is required.
823 #[cfg(feature = "http2")]
824 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
827 self.version = Proto::Http2 in http2_only()
832 /// Sets the [`SETTINGS_INITIAL_WINDOW_SIZE`][spec] option for HTTP2
839 /// [spec]: https://http2.github.io/http2-spec/#SETTINGS_INITIAL_WINDOW_SIZE
840 #[cfg(feature = "http2")]
841 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
850 /// Sets the max connection-level flow control for HTTP2
855 #[cfg(feature = "http2")]
856 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
873 #[cfg(feature = "http2")]
874 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
886 /// Sets the maximum frame size to use for HTTP2.
891 #[cfg(feature = "http2")]
892 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
900 /// Sets an interval for HTTP2 Ping frames should be sent to keep a
903 /// Pass `None` to disable HTTP2 keep-alive.
911 #[cfg(feature = "http2")]
912 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
932 #[cfg(feature = "http2")]
933 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
939 /// Sets whether HTTP2 keep-alive should apply while the connection is idle.
952 #[cfg(feature = "http2")]
953 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
959 /// Sets the maximum number of HTTP2 concurrent locally reset streams.
967 #[cfg(feature = "http2")]
968 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
981 #[cfg(feature = "http2")]
982 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
1049 #[cfg(feature = "http2")] in handshake()
1050 Proto::Http2 => { in handshake()
1109 #[cfg(feature = "http2")] in poll()
1114 #[cfg(not(feature = "http2"))] in poll()