ResourceFetcher::$httpClient

Same name in other branches
  1. 8.9.x core/modules/media/src/OEmbed/ResourceFetcher.php \Drupal\media\OEmbed\ResourceFetcher::httpClient
  2. 10 core/modules/media/src/OEmbed/ResourceFetcher.php \Drupal\media\OEmbed\ResourceFetcher::httpClient

The HTTP client.

Type: \GuzzleHttp\Client

File

core/modules/media/src/OEmbed/ResourceFetcher.php, line 21

Class

ResourceFetcher
Fetches and caches oEmbed resources.

Namespace

Drupal\media\OEmbed

Code

protected $httpClient;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.