src/Guzzle/Plugin/Log/LogPlugin.php
public function onCurlRead(Event $event)
    {
        // Stream the request body to the log if the body is not repeatable
        if ($wire = $event['request']->getParams()->get('request_wire')) {
            $wire->write($event['read']);
        }
    }
public function onCurlRead(Event $event)
    {
        // Stream the request body to the log if the body is not repeatable
        if ($wire = $event['request']->getParams()->get('request_wire')) {
            $wire->write($event['read']);
        }
    }
public function onCurlRead ( Event $ event ) { // Stream the request body to the log if the body is not repeatable if ( $ wire = $ event [ 'request' ] -> getParams ( ) -> get ( 'request_wire' ) ) { $ wire -> write ( $ event [ 'read' ] ) ; } }
Event triggered when curl data is read from a request

@param Event $event
Event triggered when curl data is read from a request