public function HandlerStack::__invoke in Lockr 7.3
Invokes the handler stack as a composed handler
Parameters
RequestInterface $request:
array $options:
File
- vendor/
guzzlehttp/ guzzle/ src/ HandlerStack.php, line 63
Class
- HandlerStack
- Creates a composed Guzzle handler function by stacking middlewares on top of an HTTP handler function.
Namespace
GuzzleHttpCode
public function __invoke(RequestInterface $request, array $options) {
$handler = $this
->resolve();
return $handler($request, $options);
}