Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \http_client
  2. 9 core/core.services.yml \http_client

Class

GuzzleHttp\Client
12 string references to http_client
Download::create in core/modules/migrate/src/Plugin/migrate/process/Download.php
Creates an instance of the plugin.
DownloadTest::doTransform in core/modules/migrate/tests/src/Kernel/process/DownloadTest.php
Runs an input value through the download plugin.
Drupal::httpClient in core/lib/Drupal.php
Returns the default http client.
DrupalTest::testHttpClient in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the httpClient() method.
FileCopyTest::doTransform in core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
Do an import using the destination.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: GuzzleHttp\Client
  2. factory:
  3. - '@http_client_factory'
  4. - fromOptions