Crate actix_request_identifier

Source
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§

RequestId
Request ID that can be extracted in handlers.
RequestIdMiddleware
ID wrapper for requests.
RequestIdentifier
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.