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

Breadcrumb

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

interface HttpClient

Provide the Httplug HttpClient interface for BC. You should typehint Psr\Http\Client\ClientInterface in new code

Hierarchy

  • interface \Psr\Http\Client\ClientInterface
    • interface \Http\Client\HttpClient extends \Psr\Http\Client\ClientInterface

Expanded class hierarchy of HttpClient

All classes that implement HttpClient

Deprecated

since version 2.4, use Psr\Http\Client\ClientInterface instead; see https://www.php-fig.org/psr/psr-18/

4 files declare their use of HttpClient
Client.php in vendor/php-http/guzzle7-adapter/src/Client.php
CommonClassesStrategy.php in vendor/php-http/discovery/src/Strategy/CommonClassesStrategy.php
HttpClientDiscovery.php in vendor/php-http/discovery/src/HttpClientDiscovery.php
MockClientStrategy.php in vendor/php-http/discovery/src/Strategy/MockClientStrategy.php

File

vendor/php-http/httplug/src/HttpClient.php, line 15

Namespace

Http\Client
View source
interface HttpClient extends ClientInterface {

}

API Navigation

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