(no description)
File Size: | 228 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
RedirectMiddleware:: (7 methods):
__construct()
__invoke()
checkRedirect()
withTracking()
guardMax()
modifyRequest()
redirectUri()
Class: RedirectMiddleware - X-Ref
Request redirect middleware.__construct(callable $nextHandler) X-Ref |
param: callable(RequestInterface, array): PromiseInterface $nextHandler Next handler to invoke. |
__invoke(RequestInterface $request, array $options) X-Ref |
No description |
checkRedirect(RequestInterface $request, array $options, ResponseInterface $response) X-Ref |
return: ResponseInterface|PromiseInterface |
withTracking(PromiseInterface $promise, string $uri, int $statusCode) X-Ref |
Enable tracking on promise. |
guardMax(RequestInterface $request, ResponseInterface $response, array &$options) X-Ref |
No description |
modifyRequest(RequestInterface $request, array $options, ResponseInterface $response) X-Ref |
No description |
redirectUri(RequestInterface $request,ResponseInterface $response,array $protocols) X-Ref |
Set the appropriate URL on the request based on the location header. |