Enhance the progress callback with an progress object holding the response object and the latest data chunk. It will also keep track on how much of the data has been downloaded this far.
An optional thing that can be done is to implement ArrayAccess so it can still be used as an array.
Enhance the progress callback with an progress object holding the response object and the latest data chunk. It will also keep track on how much of the data has been downloaded this far.
An optional thing that can be done is to implement
ArrayAccess
so it can still be used as an array.