Skip to content

Kirby 4.2.0

$response->header()

Getter for single headers

$response->header(string $key): string|null

Parameters

Name Type Default Description
$key * string Name of the header

Return type

string|null

Parent class

Kirby\Http\Response