protected function HttpServiceApiWrapperBase::callByRequest in HTTP Client Manager 8.2
Call by Request.
Parameters
\Drupal\http_client_manager\Request\HttpRequestInterface $request: The Request bean.
Return value
array|bool The service response.
File
- src/
Plugin/ HttpServiceApiWrapper/ HttpServiceApiWrapperBase.php, line 217
Class
- HttpServiceApiWrapperBase
- Class HttpServiceApiWrapperBase.
Namespace
Drupal\http_client_manager\Plugin\HttpServiceApiWrapperCode
protected function callByRequest(HttpRequestInterface $request) {
$result = $this
->call($request
->getCommand(), $request
->getArgs(), $request
->getFallback());
return $this
->getResponse($result);
}