You are here

public function HttpClientHandlerStackEvent::__construct in HTTP Client Manager 8.2

HttpClientHandlerStackEvent constructor.

Parameters

\GuzzleHttp\HandlerStack $handler_stack: The GuzzleHttp Handler stack.

string $http_service_api: The HTTP Service Api id.

File

src/Event/HttpClientHandlerStackEvent.php, line 37

Class

HttpClientHandlerStackEvent
Class HttpClientHandlerStackEvent.

Namespace

Drupal\http_client_manager\Event

Code

public function __construct(HandlerStack $handler_stack, $http_service_api) {
  $this->handlerStack = $handler_stack;
  $this->httpServiceApi = $http_service_api;
}