public function RestClient::setHttpClientOptions in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::setHttpClientOptions()
- 5.0.x src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::setHttpClientOptions()
Set options for Guzzle HTTP client.
Parameters
array $options: The options to pass through to guzzle, as an associative array of option names and option values.
Return value
$this
Overrides RestClientInterface::setHttpClientOptions
See also
http://docs.guzzlephp.org/en/latest/request-options.html
File
- src/
Rest/ RestClient.php, line 307
Class
- RestClient
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function setHttpClientOptions(array $options) {
$this->httpClientOptions = NestedArray::mergeDeep($this->httpClientOptions, $options);
return $this;
}