Pure value types for the HTTP message model. Direct 1:1 port of http (Rust):
Request<B>,Response<B>— generic over body typeMethod,StatusCode,Version— typed wire enumsHeaderMap,HeaderName,HeaderValue— case-insensitive multimapUri— request target with path/query slicingExtensions— type-keyed per-request state
No I/O, no async, no codec — just the message types. The same role
the http crate plays in the Rust axum/hyper/tower ecosystem: hyper
depends on it for message types, axum depends on it for handler
signatures and extractors.
Early. Currently used by:
.package(url: "https://github.com/akvilary/http.git", from: "0.1.0").target(name: "YourTarget", dependencies: [
.product(name: "HTTP", package: "http"),
])MIT — see LICENSE.