Class RedirectMiddleware
Request redirect middleware.
Apply this middleware like other middleware using GuzzleHttp\Middleware::redirect().
public
|
|
public
|
|
public
|
#
checkRedirect(
|
public
|
#
modifyRequest(
|
string |
HISTORY_HEADER
|
#
'X-Guzzle-Redirect-History'
|
public static
array
|
$defaultSettings
|
#
[
'max' => 5,
'protocols' => ['http', 'https'],
'strict' => false,
'referer' => false,
'track_redirects' => false,
]
|