[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

File Size: 264 lines (9 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

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

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

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

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

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

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

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



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1