Skip to main content

netget/server/http2/
mod.rs

1//! HTTP/2 server implementation built directly on the `h2` crate.
2//!
3//! `Http2Protocol::spawn()` calls [`H2Server::spawn_with_push_support`]
4//! (`h2_server.rs`), which drives `h2` directly because hyper's service API
5//! cannot express server push. There is exactly one server implementation here;
6//! a second, hyper-based `Http2Server` used to live in this file, was never
7//! spawned, and was removed — it silently absorbed the `request_filter` wiring
8//! for a while, so anyone reading it believed HTTP/2 filtering worked when it
9//! did not.
10pub mod actions;
11pub mod h2_server;
12pub mod push;
13
14// Re-export for convenience
15pub use h2_server::H2Server;