Skip to content

Kirby 5.0.4

Response::refresh()

Creates a refresh response, which will send the visitor to the given location after the specified number of seconds.

Response::refresh(string $location = '/', int $code = 302, int $refresh = 0): Kirby\Cms\Response

Parameters

Name Type Default
$location string '/'
$code int 302
$refresh int 0

Return type

Kirby\Cms\Response

Parent class

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