Skip to content

Kirby 4.4.1

Header::create()

Creates headers by key and value

Header::create(array|string $key, ?string $value = null): string

Parameters

Name Type Default
$key * array|string
$value string|null null

Return type

string

Parent class

Kirby\Http\Header