• Home
  • Raw
  • Download

Lines Matching full:http2

47     any(feature = "http1", feature = "http2"),
48 not(all(feature = "http1", feature = "http2"))
51 #[cfg(all(any(feature = "http1", feature = "http2"), feature = "runtime"))]
54 #[cfg(feature = "http2")]
56 #[cfg(all(feature = "http1", feature = "http2"))]
63 #[cfg(all(feature = "backports", feature = "http2"))]
64 pub mod http2; module
67 #![any(feature = "http1", feature = "http2")]
75 #[cfg(not(all(feature = "http1", feature = "http2")))]
102 #[cfg(any(feature = "http1", feature = "http2"))]
103 #[cfg_attr(docsrs, doc(cfg(any(feature = "http1", feature = "http2"))))]
107 …t will be replaced with `server::conn::http1::Builder` and `server::conn::http2::Builder` in 1.0, …
119 #[cfg(feature = "http2")]
127 #[cfg(any(feature = "http1", feature = "http2"))]
134 #[cfg(feature = "http2")]
137 #[cfg(all(feature = "http1", feature = "http2"))]
141 #[cfg(any(feature = "http1", feature = "http2"))]
147 #[cfg_attr(docsrs, doc(cfg(any(feature = "http1", feature = "http2"))))]
161 #[cfg(all(not(feature = "http1"), feature = "http2"))]
164 #[cfg(feature = "http2")]
167 #[cfg(all(not(feature = "http2"), feature = "http1"))]
173 #[cfg(any(feature = "http1", feature = "http2"))]
192 #[cfg(all(feature = "http1", feature = "http2"))]
200 any(feature = "http1", feature = "http2"),
201 not(all(feature = "http1", feature = "http2"))
205 #[cfg(all(feature = "http1", feature = "http2"))]
215 #[cfg(all(feature = "http1", feature = "http2"))]
223 #[cfg(any(feature = "http1", feature = "http2"))]
224 #[cfg_attr(docsrs, doc(cfg(any(feature = "http1", feature = "http2"))))]
251 #[cfg(any(feature = "http1", feature = "http2"))]
265 #[cfg(feature = "http2")] in new()
275 #[cfg(any(feature = "http1", feature = "http2"))]
286 #[cfg(feature = "http2")] in http1_only()
383 /// Sets whether HTTP2 is required.
386 #[cfg(feature = "http2")]
387 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
406 #[cfg(feature = "http2")]
407 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
417 /// Sets the [`SETTINGS_INITIAL_WINDOW_SIZE`][spec] option for HTTP2
424 /// [spec]: https://http2.github.io/http2-spec/#SETTINGS_INITIAL_WINDOW_SIZE
425 #[cfg(feature = "http2")]
426 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
435 /// Sets the max connection-level flow control for HTTP2.
440 #[cfg(feature = "http2")]
441 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
458 #[cfg(feature = "http2")]
459 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
471 /// Sets the maximum frame size to use for HTTP2.
476 #[cfg(feature = "http2")]
477 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
485 /// Sets the [`SETTINGS_MAX_CONCURRENT_STREAMS`][spec] option for HTTP2
490 /// [spec]: https://http2.github.io/http2-spec/#SETTINGS_MAX_CONCURRENT_STREAMS
491 #[cfg(feature = "http2")]
492 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
498 /// Sets an interval for HTTP2 Ping frames should be sent to keep a
501 /// Pass `None` to disable HTTP2 keep-alive.
509 #[cfg(feature = "http2")]
510 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
530 #[cfg(feature = "http2")]
531 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
544 #[cfg(feature = "http2")]
545 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
555 #[cfg(feature = "http2")]
564 #[cfg(feature = "http2")]
565 #[cfg_attr(docsrs, doc(cfg(feature = "http2")))]
612 #[cfg(feature = "http2")] in with_executor()
697 #[cfg(not(feature = "http2"))] in serve_connection()
699 #[cfg(feature = "http2")] in serve_connection()
702 #[cfg(feature = "http2")] in serve_connection()
713 #[cfg(all(feature = "http1", feature = "http2"))] in serve_connection()
719 #[cfg(not(all(feature = "http1", feature = "http2")))] in serve_connection()
727 #[cfg(any(feature = "http1", feature = "http2"))]
753 #[cfg(feature = "http2")] in graceful_shutdown()
761 #[cfg(not(feature = "http2"))] in graceful_shutdown()
818 #[cfg(feature = "http2")] in poll_without_shutdown()
830 #[cfg(feature = "http2")] in poll_without_shutdown()
835 #[cfg(not(feature = "http2"))] in poll_without_shutdown()
861 #[cfg(all(feature = "http1", feature = "http2"))]
895 #[cfg(any(feature = "http1", feature = "http2"))]
926 #[cfg(feature = "http2")] in poll()
942 #[cfg(any(feature = "http1", feature = "http2"))]
954 #[cfg(any(feature = "http1", feature = "http2"))]
956 #[cfg(all(feature = "http1", feature = "http2"))]
961 #[cfg(all(feature = "http1", not(feature = "http2")))]
966 #[cfg(all(not(feature = "http1"), feature = "http2"))]
974 #[cfg(any(feature = "http1", feature = "http2"))]
990 #[cfg(feature = "http2")] in poll()
995 #[cfg(not(feature = "http2"))] in poll()
1001 #[cfg(any(feature = "http1", feature = "http2"))]
1067 #[cfg(feature = "http2")] in poll()