Skip to content

Kirby 5.0.4

$request->headers()

Return all headers with polyfill for missing getallheaders function

$request->headers(): array

Return type

array

This method modifies the existing $request object it is applied to and returns it again.

Parent class

Kirby\Http\Request