You are here

public function HandlerStack::__construct in Lockr 7.3

Parameters

callable $handler Underlying HTTP handler.:

File

vendor/guzzlehttp/guzzle/src/HandlerStack.php, line 52

Class

HandlerStack
Creates a composed Guzzle handler function by stacking middlewares on top of an HTTP handler function.

Namespace

GuzzleHttp

Code

public function __construct(callable $handler = null) {
  $this->handler = $handler;
}