You are here

public function HttpClientInterface::call in HTTP Client Manager 8.2

Same name and namespace in other branches
  1. 8 src/HttpClientInterface.php \Drupal\http_client_manager\HttpClientInterface::call()

Execute command call.

Parameters

string $commandName: The Guzzle command name.

array $params: The Guzzle command parameters array.

Return value

\GuzzleHttp\Command\ResultInterface The result of the executed command

Throws

\GuzzleHttp\Command\Exception\CommandException

1 method overrides HttpClientInterface::call()
HttpClient::call in src/HttpClient.php
Execute command call.

File

src/HttpClientInterface.php, line 52

Class

HttpClientInterface
Interface HttpClientInterface.

Namespace

Drupal\http_client_manager

Code

public function call($commandName, array $params = []);