Skip to content

Kirby 6.0.0

$file->header()

Sends an appropriate header for the asset

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

Parameters

Name Type Default
$send bool true

Return types

Kirby\Http\Responseornull

Parent class

Kirby\Filesystem\File