public function RemoteManagerInterface::prepareJsonApiClient in Entity Share 8.2
Same name and namespace in other branches
- 8 modules/entity_share_client/src/Service/RemoteManagerInterface.php \Drupal\entity_share_client\Service\RemoteManagerInterface::prepareJsonApiClient()
Prepare an HTTP client for the JSON:API endpoints.
Parameters
\Drupal\entity_share_client\Entity\RemoteInterface $remote: The remote website on which to prepare the client.
Return value
\GuzzleHttp\Client An HTTP client with some info from the remote.
1 method overrides RemoteManagerInterface::prepareJsonApiClient()
- RemoteManager::prepareJsonApiClient in modules/
entity_share_client/ src/ Service/ RemoteManager.php - Prepare an HTTP client for the JSON:API endpoints.
File
- modules/
entity_share_client/ src/ Service/ RemoteManagerInterface.php, line 34
Class
- RemoteManagerInterface
- Remote manager interface methods.
Namespace
Drupal\entity_share_client\ServiceCode
public function prepareJsonApiClient(RemoteInterface $remote);