RequestHeadersRenderer
API reference › Debug Core › Panel › Request › RequestHeadersRenderer
Renders request and response headers as a directional HTTP exchange ledger.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
render() static | Renders the request and response headers side by side, with a shared filter above both lanes. | RequestHeadersRenderer |
Method details
Section titled “Method details”render()
Section titled “render() ”public static function render(array<int|string, mixed> $request, array<int|string, mixed> $response): stringRenders the request and response headers side by side, with a shared filter above both lanes.
Parameters
| Parameter | Type | Description |
|---|---|---|
$request | array<int| | Captured request headers, keyed by header name. |
$response | array<int| | Captured response headers, keyed by header name. |
Returns
string: Header exchange markup.