protected function AcquiaLiftAPI::httpClient in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 includes/AcquiaLiftAPI.inc \AcquiaLiftAPI::httpClient()
Returns an http client to use for Acquia Lift calls.
Return value
AcquiaLiftDrupalHttpClientInterface
File
- includes/
acquia_lift.classes.inc, line 331 - Provides an agent type for Acquia Lift
Class
- AcquiaLiftAPI
- @file Provides an agent type for Acquia Lift
Code
protected function httpClient() {
if (!isset($this->httpClient)) {
$this->httpClient = new AcquiaLiftDrupalHttpClient();
}
return $this->httpClient;
}