rws_http/lib.rs
1//! The HTTP layer of [rust-web-server](https://crates.io/crates/rust-web-server):
2//! requests, responses, headers, ranges, bodies, JSON, extractors,
3//! compression, CORS, errors, and the server's settings.
4//!
5//! Internal to rust-web-server, released with it at the same version: use
6//! these through the `rust_web_server` paths (`rust_web_server::request`,
7//! `rust_web_server::response`, …), which stay stable; this crate's own
8//! layout may change in any release. See `spec/WORKSPACE_SPLIT.md`.
9
10// The base layer, under the paths the moved code uses (`crate::core`, …).
11pub(crate) use rws_base::{core, ext, http, mime_type, null, symbol, url};
12
13pub mod body;
14pub mod client_hint;
15pub mod compression;
16pub mod cors;
17pub mod early_hints;
18pub mod entry_point;
19pub mod error;
20pub mod extract;
21pub mod header;
22pub mod ip_filter;
23pub mod json;
24pub mod range;
25pub mod request;
26pub mod response;
27pub mod server_config;
28#[doc(hidden)]
29pub mod static_path;
30pub mod virtual_host;
31
32#[cfg(test)]
33#[doc(hidden)]
34pub mod test_env;