public function ImportService::request in Entity Share 8.3
Performs a HTTP request.
Pass the request to the injected remote manager using RuntimeImportContext data.
Parameters
string $method: HTTP method.
string $url: URL to request.
Return value
\Psr\Http\Message\ResponseInterface The response.
Overrides ImportServiceInterface::request
See also
\GuzzleHttp\ClientInterface::request()
File
- modules/
entity_share_client/ src/ Service/ ImportService.php, line 385
Class
- ImportService
- Class ImportService.
Namespace
Drupal\entity_share_client\ServiceCode
public function request($method, $url) {
return $this->remoteManager
->request($this->runtimeImportContext
->getRemote(), $method, $url);
}