-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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
| protected function getSettings($options): array |

What I want is pass the HTTP proxy in to inner
Swoole\Coroutine\Http\Client in order to use http_proxy_host and http_proxy_port.The only way I can do now is hard coding here with these settings. But It's not the way I want.
\Hyperf\Guzzle\RingPHP\CoroutineHandler::__invoke
Could you please provide some better solutions for this situation?
Metadata
Metadata
Assignees
Labels
No labels