From a98c2a4542e19ce4fb632bc32fc47c18273161cc Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 1 Mar 2026 19:32:52 -0600 Subject: convert from PHP to Go --- .../guzzlehttp/guzzle/src/Handler/CurlHandler.php | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php (limited to 'vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php') diff --git a/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php b/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php deleted file mode 100644 index 43577da..0000000 --- a/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