origin-http
HTTP port for Origin: request and response types, rate-limit parsing, status mapping. Knows no HTTP library.
Part of Origin, a Rust/Tauri platform for building desktop applications from a shared set of domain crates. See the workspace documentation for how the pieces fit together, and ARCHITECTURE.md for the rules this crate follows.
Example
use ;
use OffsetDateTime;
async
HttpClient is a trait; connectors and SDK crates receive an implementation of it rather
than depending on a concrete HTTP library. For an offline test double, see
origin_http::testing::MockHttpClient (behind the testing feature).
Stability
Pre-1.0 (0.1.0). Public types, enums and field sets may still change between minor
versions; pin an exact version if that matters to you.