Skip to content

Kirby 5.0.0

$response->header()

Getter for single headers

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

Parameters

Name Type Default Description
$keyrequired string no default value Name of the header

Return types

stringornull

Parent class

Kirby\Http\Response