You are here

public function RestClientInterface::setHttpClientOption in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::setHttpClientOption()
  2. 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::setHttpClientOption()

Set a single Guzzle HTTP client option.

Parameters

string $option_name: The option name to set.

mixed $option_value: The option value to set.

Return value

$this

See also

setHttpClientOptions

1 method overrides RestClientInterface::setHttpClientOption()
RestClient::setHttpClientOption in src/Rest/RestClient.php
Set a single Guzzle HTTP client option.

File

src/Rest/RestClientInterface.php, line 92

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function setHttpClientOption($option_name, $option_value);