protected function SDKConnector::httpClientConfiguration in Apigee Edge 8
Same name in this branch
- 8 src/SDKConnector.php \Drupal\apigee_edge\SDKConnector::httpClientConfiguration()
- 8 modules/apigee_edge_debug/src/SDKConnector.php \Drupal\apigee_edge_debug\SDKConnector::httpClientConfiguration()
- 8 tests/modules/apigee_edge_test/src/SDKConnector.php \Drupal\apigee_edge_test\SDKConnector::httpClientConfiguration()
Get HTTP client overrides for Apigee Edge API client.
Allows to override some configuration of the http client built by the factory for the API client.
Return value
array Associative array of configuration settings.
Overrides SDKConnector::httpClientConfiguration
See also
http://docs.guzzlephp.org/en/stable/request-options.html
File
- modules/
apigee_edge_debug/ src/ SDKConnector.php, line 82
Class
- SDKConnector
- Service decorator for SDKConnector.
Namespace
Drupal\apigee_edge_debugCode
protected function httpClientConfiguration() : array {
$config = $this->innerService
->httpClientConfiguration();
$config['headers'][static::HEADER] = static::HEADER;
return $config;
}