Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Client.php

function Client::createWithConfig

Factory method to create the Guzzle 7 adapter with custom Guzzle configuration.

File

vendor/php-http/guzzle7-adapter/src/Client.php, line 41

Class

Client
HTTP Adapter for Guzzle 7.

Namespace

Http\Adapter\Guzzle7

Code

public static function createWithConfig(array $config) : Client {
    return new self(self::buildClient($config));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal