8p / EightPointsGuzzleBundle

⛽️ Integrates Guzzle 6.x, a PHP HTTP Client, into Symfony
MIT License
440 stars 71 forks source link

Support Proxy Configuration #97

Closed therealyoram closed 6 years ago

therealyoram commented 7 years ago

The current implementation of the ConfigurationInterface doesn't support the proxy client configuration. So i would propose the following addition to the options arrayNode:

->arrayNode('proxy')
    ->children()  
        ->scalarNode('http')->end()  
        ->scalarNode('https')->end()  
        ->scalarNode('no')->end()  
    ->end()  
->end()
heddn commented 7 years ago

It actually seems to drop support for a lot of things. I feel like it should support all of http://docs.guzzlephp.org/en/latest/request-options.html.

heddn commented 7 years ago

I'm wanting to add http://docs.guzzlephp.org/en/latest/request-options.html#allow-redirects.

gregurco commented 7 years ago

Work in progress :slightly_smiling_face: I will try to add support as many options as possible.

gregurco commented 6 years ago

This issue was fixed in #107 and #140. I close the issue.