[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/ -> RedirectMiddleware.php (summary)

(no description)

File Size: 255 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RedirectMiddleware:: (7 methods):
  __construct()
  __invoke()
  checkRedirect()
  withTracking()
  guardMax()
  modifyRequest()
  redirectUri()


Class: RedirectMiddleware  - X-Ref

Request redirect middleware.

Apply this middleware like other middleware using
{@see \GuzzleHttp\Middleware::redirect()}.
__construct(callable $nextHandler)   X-Ref

param: callable $nextHandler Next handler to invoke.

__invoke(RequestInterface $request, array $options)   X-Ref

return: PromiseInterface
param: RequestInterface $request
param: array            $options

checkRedirect(RequestInterface $request,array $options,ResponseInterface $response)   X-Ref

return: ResponseInterface|PromiseInterface
param: RequestInterface  $request
param: array             $options
param: ResponseInterface $response

withTracking(PromiseInterface $promise, $uri, $statusCode)   X-Ref
Enable tracking on promise.

return: PromiseInterface

guardMax(RequestInterface $request, array &$options)   X-Ref
No description

modifyRequest(RequestInterface $request,array $options,ResponseInterface $response)   X-Ref

return: RequestInterface
param: RequestInterface  $request
param: array             $options
param: ResponseInterface $response

redirectUri(RequestInterface $request,ResponseInterface $response,array $protocols)   X-Ref
Set the appropriate URL on the request based on the location header

return: UriInterface
param: RequestInterface  $request
param: ResponseInterface $response
param: array             $protocols



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1