Expand description
A tiny tower (hyper, axum, warp etc) service to generate a random id for each incoming request.
§Usage
After adding the RequestIdLayer into the axum middlewares the request id is available in
the http::Request::extensions(). For the tracing integration, please refer to the
logging example.
Structs§
- Request
Id - A newtype around
ulid::Ulid - Request
IdLayer - Layer to apply
RequestIdServicemiddleware. - Request
IdService