mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 12:43:14 +00:00
Add MultiCurl::setOpts()
This commit is contained in:
@@ -482,6 +482,19 @@ class MultiCurl
|
||||
$this->options[$option] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Opts
|
||||
*
|
||||
* @access public
|
||||
* @param $options
|
||||
*/
|
||||
public function setOpts($options)
|
||||
{
|
||||
foreach ($options as $option => $value) {
|
||||
$this->setOpt($option, $value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Referer
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user