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::mergeInfo
middleware also collectoptions
- let
\Csa\Bundle\GuzzleBundle\DataCollector\InternalGuzzleCollector::doCollect
store some options (start withproxy
?) to the data collection - let
vendor/csa/guzzle-bundle/src/Resources/views/Calls/list.html.twig
show 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!