pub async fn request_id_middleware(req: Request, next: Next) -> ResponseExpand description
Middleware that reads or generates a request ID and attaches it to the response.
pub async fn request_id_middleware(req: Request, next: Next) -> ResponseMiddleware that reads or generates a request ID and attaches it to the response.