Client.php
public function setOption($option, $value = null): bool {
		if (is_array($option)) {
			foreach ($option as $name => $value) {
				if (isset($this->options[$name]) && is_array($this->options[$name])) {
					$this->options[$name] = array_merge($this->options[$name], $value);
				}
				else if (is_null($value)) {
					unset($this->options[$name]);
				}
				else {
					$this->options[$name] = $value;
				}
			}
		}
		else if (is_null($value)) {
			unset($this->options[$option]);
		}
		else {
			$this->options[$option] = $value;
		}

		if (isset($this->getOptions()[CURLOPT_URL]) && !empty($this->getOptions()[CURLOPT_URL])) {
			$this->setUrl($this->getOptions()[CURLOPT_URL]);
		}

		return curl_setopt_array($this->curl, $this->options);
	}
public function setOption($option, $value = null): bool {
		if (is_array($option)) {
			foreach ($option as $name => $value) {
				if (isset($this->options[$name]) && is_array($this->options[$name])) {
					$this->options[$name] = array_merge($this->options[$name], $value);
				}
				else if (is_null($value)) {
					unset($this->options[$name]);
				}
				else {
					$this->options[$name] = $value;
				}
			}
		}
		else if (is_null($value)) {
			unset($this->options[$option]);
		}
		else {
			$this->options[$option] = $value;
		}

		if (isset($this->getOptions()[CURLOPT_URL]) && !empty($this->getOptions()[CURLOPT_URL])) {
			$this->setUrl($this->getOptions()[CURLOPT_URL]);
		}

		return curl_setopt_array($this->curl, $this->options);
	}
Set cURL option(s)
@param int|array  $option
@param mixed|null $value
@return bool