class ClientFactory

Helper class to construct a HTTP client with Drupal specific config.

Hierarchy

File

core/lib/Drupal/Core/Http/ClientFactory.php, line 13

Namespace

Drupal\Core\Http

Members

Name Modifiers Type Description
ClientFactory::$stack protected property The handler stack.
ClientFactory::fromOptions public function Constructs a new client object from some configuration.
ClientFactory::__construct public function Constructs a new ClientFactory instance.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Http!ClientFactory.php/class/ClientFactory/8.1.x