From 24bb5fefbdf93ce0969b7f56cc46c459ebb82a95 Mon Sep 17 00:00:00 2001 From: EoleDev Date: Thu, 14 Apr 2016 16:24:44 +0200 Subject: Mise a jour et nettoyage depot --- .../guzzlehttp/guzzle/src/Handler/CurlHandler.php | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 server/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php (limited to 'server/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php') diff --git a/server/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php b/server/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php deleted file mode 100644 index 43577da..0000000 --- a/server/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php +++ /dev/null @@ -1,45 +0,0 @@ -factory = isset($options['handle_factory']) - ? $options['handle_factory'] - : new CurlFactory(3); - } - - public function __invoke(RequestInterface $request, array $options) - { - if (isset($options['delay'])) { - usleep($options['delay'] * 1000); - } - - $easy = $this->factory->create($request, $options); - curl_exec($easy->handle); - $easy->errno = curl_errno($easy->handle); - - return CurlFactory::finish($this, $easy, $this->factory); - } -} -- cgit v1.2.3