Skip to main content

base_http/
lib.rs

1// Released under the MIT License.
2// Copyright, 2026, by Samuel Williams.
3
4#![doc = include_str!("../readme.md")]
5#![forbid(unsafe_code)]
6
7pub mod body;
8pub mod fields;
9pub mod headers;
10pub mod interim;
11pub mod method;
12pub mod protocol;
13pub mod request;
14pub mod response;
15pub mod status;
16pub mod target;
17pub mod version;
18
19mod future;
20mod syntax;
21
22pub use fields::{Field, FieldError, Fields};
23pub use headers::HttpHeaders;
24pub use interim::{InterimError, InterimHandler, InterimResponses};
25pub use method::Method;
26pub use protocol::Protocol;
27pub use request::{Request, RequestMetadata};
28pub use response::{Response, ResponseMetadata};
29pub use status::Status;
30pub use target::{Authority, Path, Scheme};
31pub use version::Version;