Skip to content

Kirby 5.0.4

Header::type()

Shortcut for static::contentType()

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

Parameters

Name Type Default
$mimerequired string no default value
$charset string 'UTF-8'
$send bool true

Parent class

Kirby\Http\Header