serenade-http 1.0.0

Framework-agnostic HTTP foundation types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Ops helpers: request-id, health/readiness, shutdown coordination.

mod health;
mod request_id;
mod shutdown;

pub use health::{
    AsyncHealthMiddleware, HEALTHZ_PATH, HealthMiddleware, READYZ_PATH, healthz, readyz,
};
pub use request_id::{
    AsyncRequestIdMiddleware, REQUEST_ID_ATTRIBUTE, REQUEST_ID_HEADER, RequestIdMiddleware,
    ensure_request_id, request_id,
};
pub use shutdown::Readiness;