OSS\Http\RequestCore::set_curlopts PHP Method

set_curlopts() public method

Set additional CURLOPT settings. These will merge with the default settings, and override if there is a duplicate.
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;
    }