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

Breadcrumb

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

function ClientInterface::getConfig

Get a client configuration option.

These options include default request options of the client, a "handler" (if utilized by the concrete client), and a "base_uri" if utilized by the concrete client.

Parameters

string|null $option The config option to retrieve.:

Return value

mixed

Deprecated

ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0.

1 method overrides ClientInterface::getConfig()
Client::getConfig in vendor/guzzlehttp/guzzle/src/Client.php
Get a client configuration option.

File

vendor/guzzlehttp/guzzle/src/ClientInterface.php, line 83

Class

ClientInterface
Client interface for sending HTTP requests.

Namespace

GuzzleHttp

Code

public function getConfig(?string $option = null);

API Navigation

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