Skip to content

Kirby 4.5.0

$response->code()

Getter for the HTTP status code

$response->code(): int

Return type

int

Parent class

Kirby\Cms\Response inherited from Kirby\Http\Response