Expand description
Request id middleware.
The middleware assigns a UUID v4 to every request, stores it in request
extensions, adds it to the X-Request-ID response header, and instruments
the downstream service call with a tracing span containing request metadata.
Structsยง
- Request
Id - Request id value stored in Actix request extensions.
- Request
IdMiddleware - Actix middleware that creates and propagates request ids.
- Request
IdService - Service wrapper installed by
RequestIdMiddleware.