service http_client in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \http_client
- 9 core/core.services.yml \http_client
Class
GuzzleHttp\Client14 string references to http_client
- advisory_feed_test.services.yml in core/
modules/ system/ tests/ modules/ advisory_feed_test/ advisory_feed_test.services.yml - core/modules/system/tests/modules/advisory_feed_test/advisory_feed_test.services.yml
- CredentialForm::create in core/
modules/ migrate_drupal_ui/ src/ Form/ CredentialForm.php - Instantiates a new instance of this class.
- 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: GuzzleHttp\Client
- factory:
- - '@http_client_factory'
- - fromOptions