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#![cfg_attr(docsrs, feature(doc_cfg))]
10
11// The base layer, under the paths the moved code uses (`crate::core`, …).
12pub(crate) use rws_base::{core, ext, http, mime_type, null, symbol, url};
13
14pub mod app_manifest;
15pub mod body;
16pub mod client_hint;
17pub mod compression;
18pub mod cors;
19pub mod early_hints;
20pub mod entry_point;
21pub mod error;
22pub mod extract;
23pub mod header;
24pub mod ip_filter;
25pub mod json;
26pub mod range;
27pub mod request;
28pub mod response;
29pub mod server_config;
30#[doc(hidden)]
31pub mod static_path;
32pub mod virtual_host;
33
34#[cfg(test)]
35#[doc(hidden)]
36pub mod test_env;