diff options
author | Joas Schilling <coding@schilljs.com> | 2023-06-02 16:05:35 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-06-27 15:53:57 +0200 |
commit | ec6728d710ad786fd4e5b762ec3835f6dcaa67b8 (patch) | |
tree | e3ec2605b3ef40292c6eb4c18a12bcabc8d0783d /lib/private/Http/Client/ClientService.php | |
parent | 266436b76788d14e061bbe1f013bc052edc8041f (diff) | |
download | nextcloud-server-ec6728d710ad786fd4e5b762ec3835f6dcaa67b8.tar.gz nextcloud-server-ec6728d710ad786fd4e5b762ec3835f6dcaa67b8.zip |
feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Http/Client/ClientService.php')
-rw-r--r-- | lib/private/Http/Client/ClientService.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Http/Client/ClientService.php b/lib/private/Http/Client/ClientService.php index d0640680124..532aa7f566a 100644 --- a/lib/private/Http/Client/ClientService.php +++ b/lib/private/Http/Client/ClientService.php @@ -37,6 +37,7 @@ use OCP\ICertificateManager; use OCP\IConfig; use OCP\Security\IRemoteHostValidator; use Psr\Http\Message\RequestInterface; +use Psr\Log\LoggerInterface; /** * Class ClientService @@ -59,6 +60,7 @@ class ClientService implements IClientService { DnsPinMiddleware $dnsPinMiddleware, IRemoteHostValidator $remoteHostValidator, IEventLogger $eventLogger, + protected LoggerInterface $logger, ) { $this->config = $config; $this->certificateManager = $certificateManager; @@ -87,6 +89,7 @@ class ClientService implements IClientService { $this->certificateManager, $client, $this->remoteHostValidator, + $this->logger, ); } } |