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 Tue, 21 Apr 2026 04:00:25 +0000