public set_curlopts ( array $curlopts ) | ||
$curlopts | array | (Optional) A set of key-value pairs that set `CURLOPT` options. These will merge with the existing CURLOPTs, and ones passed here will override the defaults. Keys should be the `CURLOPT_*` constants, not strings. |
public function set_curlopts($curlopts)
{
$this->curlopts = $curlopts;
return $this;
}