public function RestClientInterface::setHttpClientOption in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::setHttpClientOption()
- 5.0.x 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\RestCode
public function setHttpClientOption($option_name, $option_value);