You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm using Guzzle to download many files in parallel using PSR-7 streams. At the moment we can construct a CurlMultiHandler which passes options to each handle via $options['curl']. However, passing options to the implicit multihandle resource $this->_mh is not supported, and is currently an implementation detail.
Additional context
Some of the config this would allow is already achievable using an EachPromise, but this feature request is more about the general functionality as well as future-proofing for any newly defined CURLMOPT options which may be useful to define in some edge cases.
The text was updated successfully, but these errors were encountered:
Take a look at the related PR #2287, it adds curl_multi option to the client configuration level. It makes more sense to do it there, because multi options affect a bunch of requests, not only one.
Description
I'm using Guzzle to download many files in parallel using PSR-7 streams. At the moment we can construct a CurlMultiHandler which passes options to each handle via
$options['curl']
. However, passing options to the implicit multihandle resource$this->_mh
is not supported, and is currently an implementation detail.Example
Additional context
Some of the config this would allow is already achievable using an EachPromise, but this feature request is more about the general functionality as well as future-proofing for any newly defined CURLMOPT options which may be useful to define in some edge cases.
The text was updated successfully, but these errors were encountered: