Skip to content

Kirby 4.4.1

$file->header()

Sends an appropriate header for the asset

$file->header(bool $send = true): Kirby\Http\Response|null

Parameters

Name Type Default
$send bool true

Return type

Kirby\Http\Response|null

Parent class

Kirby\Filesystem\File