Skip to main content

Crate arcly_http_core

Crate arcly_http_core 

Source
Expand description

arcly-http-core — the always-compiled foundation of arcly-http.

Contains the tightly-coupled request core that the optional subsystem crates (arcly-http-data, -compliance, -realtime, -messaging) and the arcly-http facade build on: the zero-lock DI engine, the HTTP boundary + RequestContext, the unified request pipeline, identity & access (auth), resilience, observability, and the self-documenting OpenAPI surface (docs).

Application code should depend on the arcly-http facade and use arcly_http::prelude::*; rather than this crate directly.

Re-exports§

pub use auth::cookie;
pub use auth::session;
pub use core::plugins;
pub use docs::openapi;
pub use web::Error;
pub use web::RequestContext;

Modules§

auth
Identity & Access — JWT, signed cookies, server-side sessions, OAuth2, guards.
core
docs
Self-documenting API surface: OpenAPI 3 spec assembly + Swagger UI.
http
Zero-axum public HTTP types.
observability
pipeline
Unified request provenance — one answer to “who is this unit of work, which trace does it continue, which tenant does it belong to?” shared by every transport: HTTP requests, WebSocket handshakes, and consumer-mesh messages.
resilience
Lock-free circuit breaker + the BreakerOpen sentinel surfaced when the breaker is OPEN.
transport
Transport-agnostic envelope + error types shared across the request pipeline and the messaging subsystem.
web