\GuzzleHttpRedirectMiddleware

Request redirect middleware.

Apply this middleware like other middleware using \GuzzleHttp\GuzzleHttp\Middleware::redirect().

Summary

Methods
Properties
Constants
__construct()
__invoke()
checkRedirect()
modifyRequest()
$defaultSettings
HISTORY_HEADER
STATUS_HISTORY_HEADER
No protected methods found
No protected properties found
N/A
withTracking()
guardMax()
redirectUri()
$nextHandler
N/A

Constants

HISTORY_HEADER

HISTORY_HEADER = 'X-Guzzle-Redirect-History'

STATUS_HISTORY_HEADER

STATUS_HISTORY_HEADER = 'X-Guzzle-Redirect-Status-History'

Properties

$defaultSettings

$defaultSettings : 

Type

$nextHandler

$nextHandler : callable

Type

callable

Methods

__construct()

__construct(callable  $nextHandler) 

Parameters

callable $nextHandler

Next handler to invoke.