$response->header()
Getter for single headers
$response->header(string $key): string|null
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
Return types
stringornull
Parent class
Kirby\Cms\Response
inherited from Kirby\Http\Response