You are here

public function RestClient::getHttpClientOption in Salesforce Suite 5.0.x

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

Getter for a single, named HTTP client option.

Parameters

string $option_name: The option name to get.

Return value

mixed The client option from guzzle.

Overrides RestClientInterface::getHttpClientOption

File

src/Rest/RestClient.php, line 338

Class

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

Namespace

Drupal\salesforce\Rest

Code

public function getHttpClientOption($option_name) {
  return $this->httpClientOptions[$option_name];
}