Documentation

redirectMiddleware
in package

Table of Contents

HISTORY_HEADER  = 'X-Proxy-Redirect-History'
STATUS_HISTORY_HEADER  = 'X-Proxy-Redirect-Status-History'
$defaultSettings  : mixed
$nextHandler  : mixed
__construct()  : mixed
__invoke()  : mixed
checkRedirect()  : mixed
modifyRequest()  : mixed
guardMax()  : mixed
redirectUri()  : mixed
withTracking()  : mixed

Constants

STATUS_HISTORY_HEADER

public mixed STATUS_HISTORY_HEADER = 'X-Proxy-Redirect-Status-History'

Properties

$defaultSettings

public static mixed $defaultSettings = ['max' => 5, 'protocols' => ['http', 'https'], 'strict' => false, 'referer' => false, 'track_redirects' => false]

Methods

__construct()

public __construct(callable $nextHandler) : mixed
Parameters
$nextHandler : callable
Return values
mixed

Search results