You are here

public function RestClientInterface::setHttpClientOptions in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::setHttpClientOptions()
  2. 5.0.x src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::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

See also

http://docs.guzzlephp.org/en/latest/request-options.html

1 method overrides RestClientInterface::setHttpClientOptions()
RestClient::setHttpClientOptions in src/Rest/RestClient.php
Set options for Guzzle HTTP client.

File

src/Rest/RestClientInterface.php, line 74

Class

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

Namespace

Drupal\salesforce\Rest

Code

public function setHttpClientOptions(array $options);