Expand description


RequestID provides a “request-id” to a http request. This can be used for tracing, debuging, user error reporting.

Insert the request id middleware to provide the request-id to the request-id http header. To access requestID data, RequestID actix extractor must be used.

It is still useable without the middleware. The first time you try to extract the id, it will be generated. Then reused along the request. You can for exemple use that in a Logging or tracing middleware.