Skip to content

Kirby 4.4.1

Header::type()

Shortcut for static::contentType()

Header::type(string $mime, string $charset = 'UTF-8', bool $send = true): string|void

Parameters

Name Type Default
$mime * string
$charset string 'UTF-8'
$send bool true

Return type

string|void

Parent class

Kirby\Http\Header