hyperf / guzzle Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Fatal error: Uncaught TypeError: curl_close(): Argument #1 ($handle) must be of type CurlHandle, Swoole\Curl\Handler given in /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:634
Stack trace:
#0 /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(634): curl_close(Object(Swoole\Curl\Handler))
#1 [internal function]: GuzzleHttp\Handler\CurlFactory->__destruct()
#2 {main}
thrown in /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 634
Using hyperf/guzzle as a dependency in my project. But found that I can't pass HTTP client settings. Finally, I found that because you ignored these options I passed but only keep delay
and timeout
in \Hyperf\Guzzle\RingPHP\CoroutineHandler::getSettings
.
guzzle/src/RingPHP/CoroutineHandler.php
Line 76 in cae5b63
Swoole\Coroutine\Http\Client
in order to use http_proxy_host
and http_proxy_port
.\Hyperf\Guzzle\RingPHP\CoroutineHandler::__invoke
When we add Hyperf\Guzzle\PoolHandler as our client stack, we receive the error 'Http invalid protocol' always that response is with status code 204 No content, throw by Hyperf\Guzzle\PoolHandler.php:67.
Every other type of status code work well.
Can someone help me?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.