middleware/request_id library
Classes
- RequestId
-
Gives each request an id. It is sent back in the
X-Request-Idheader and can be read asreq.requestId.LogMiddlewarelines and the error reports ofExceptionHandlershow it.
X-Request-Id
header and can be read as req.requestId. LogMiddleware lines and
the error reports of ExceptionHandler show it.