mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 20:20:53 +00:00
Use Curl::setCookies in favor Curl::setCookie in loop
This commit is contained in:
@@ -823,11 +823,7 @@ class MultiCurl
|
||||
$curl->setOpts($this->options);
|
||||
$curl->setHeaders($this->headers);
|
||||
$curl->setRetry($this->retry);
|
||||
|
||||
foreach ($this->cookies as $key => $value) {
|
||||
$curl->setCookie($key, $value);
|
||||
}
|
||||
|
||||
$curl->setCookies($this->cookies);
|
||||
$curl->setJsonDecoder($this->jsonDecoder);
|
||||
$curl->setXmlDecoder($this->xmlDecoder);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user