CsaGuzzleBundle
CsaGuzzleBundle copied to clipboard
Collect and let profiler show `proxy` request option
Guzzle allows configuring proxy as option while doing a request.
What
- let
\Csa\GuzzleHttp\Middleware\History\History::mergeInfomiddleware also collectoptions - let
\Csa\Bundle\GuzzleBundle\DataCollector\InternalGuzzleCollector::doCollectstore some options (start withproxy?) to the data collection - let
vendor/csa/guzzle-bundle/src/Resources/views/Calls/list.html.twigshow the collected requested options
Why
Showing this to the developer improves debugging capabilities. Without showing request options valuable information gets lost.
There are more Guzzle request options that might are useful to show.
Great idea!