Skip to content

Why do you ignored some http setting #5

@apuppy

Description

@apuppy

    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.

protected function getSettings($options): array

image
    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
image
    Could you please provide some better solutions for this situation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions