public function setOption($option, $value)
    {
        $this->options[$option] = $value;
        curl_setopt($this->resource, $option, $value);

        return $this;
    }
public function setOption($option, $value)
    {
        $this->options[$option] = $value;
        curl_setopt($this->resource, $option, $value);

        return $this;
    }
public function setOption ( $ option , $ value ) { $ this -> options [ $ option ] = $ value ; curl_setopt ( $ this -> resource , $ option , $ value ) ; return $ this ; }
Set curl session option.

@param (mixed) $option
(mixed) $value

@since 3.0.0

@return object
Set curl session option .