$request
$request : \Guzzle\Http\Message\RequestInterface
Mediator between curl handles and request objects
$request : \Guzzle\Http\Message\RequestInterface
__construct(\Guzzle\Http\Message\RequestInterface $request, boolean $emitIo = false)
| \Guzzle\Http\Message\RequestInterface | $request | Request to mediate |
| boolean | $emitIo | Set to true to dispatch events on input and output |
progress(integer $downloadSize, integer $downloaded, integer $uploadSize, integer $uploaded, resource $handle = null)
Received a progress notification
| integer | $downloadSize | Total download size |
| integer | $downloaded | Amount of bytes downloaded |
| integer | $uploadSize | Total upload size |
| integer | $uploaded | Amount of bytes uploaded |
| resource | $handle | CurlHandle object |