You are here

private function HttpClient::setupGuzzleClient in HTTP Client Manager 8.2

Same name and namespace in other branches
  1. 8 src/HttpClient.php \Drupal\http_client_manager\HttpClient::setupGuzzleClient()

Setup Guzzle Client from *.http_services_api.yml files.

1 call to HttpClient::setupGuzzleClient()
HttpClient::getClient in src/HttpClient.php
Get Client.

File

src/HttpClient.php, line 195

Class

HttpClient
The http client.

Namespace

Drupal\http_client_manager

Code

private function setupGuzzleClient() {
  $config = $this
    ->getClientConfig();
  $this->client = $this
    ->createGuzzleClient($config);
}