public function HandlerStack::setHandler in Auth0 Single Sign On 8.2
Set the HTTP handler that actually returns a promise.
Parameters
callable $handler Accepts a request and array of options and: returns a Promise.
File
- vendor/
guzzlehttp/ guzzle/ src/ HandlerStack.php, line 109
Class
- HandlerStack
- Creates a composed Guzzle handler function by stacking middlewares on top of an HTTP handler function.
Namespace
GuzzleHttpCode
public function setHandler(callable $handler) {
$this->handler = $handler;
$this->cached = null;
}