Expand description
This is an actix-web middleware to associate every request with a unique ID. This ID can be used to track errors in an application.
Structs§
- Request
Id - Request ID that can be extracted in handlers.
- Request
IdMiddleware - ID wrapper for requests.
- Request
Identifier - A middleware for generating per-request unique IDs
Enums§
- Error
- Possible error types for the middleware.
- IdReuse
- Configuration setting to decide weather the request id from the incoming request header should be used, if present or if a new one should be generated in any case.
Constants§
- DEFAULT_
HEADER - The default header used for the request ID.