RequestID
Less than 1 minute
RequestID
Middleware that adds a request identifier to the response headers.
class RequestID implements \Hazaar\Application\Middleware\MiddlewareMethods
handle
Adds the current request ID to the response as the X-Request-ID header.
public handle(Request $request, callable $next, mixed $args): ResponseParameters
| Parameter | Type | Description |
|---|---|---|
$request | Request | |
$next | callable | |
$args | mixed |
Generated by Hazaar API Doc Generator on Fri, 05 Jun 2026 06:08:15 +0000