src/curlient/Curlient.php
private function initCurl($parseHeader) {
		$this->curl = @curl_init();
		if (!$this->curl) {
			return;
		}

		curl_setopt($this->curl, CURLOPT_AUTOREFERER, true);
		curl_setopt($this->curl, CURLOPT_FOLLOWLOCATION, true);
		curl_setopt($this->curl, CURLOPT_TCP_NODELAY, true);
		curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true);
		curl_setopt($this->curl, CURLOPT_MAXREDIRS, 5);
		curl_setopt($this->curl, CURLOPT_SSL_VERIFYPEER, false);
		curl_setopt($this->curl, CURLOPT_SSL_VERIFYHOST, false);
		curl_setopt($this->curl, CURLOPT_ENCODING, 'gzip, deflate');
		curl_setopt($this->curl, CURLOPT_USERAGENT, $this->agent);
		curl_setopt($this->curl, CURLOPT_HEADER, false);
		curl_setopt($this->curl, CURLOPT_SAFE_UPLOAD, true);

		if ($this->proxy) {
			curl_setopt($this->curl, CURLOPT_PROXY, $this->proxy);
		}

		curl_setopt($this->curl, CURLOPT_CONNECTTIMEOUT, 15);

		curl_setopt($this->curl, CURLOPT_TIMEOUT, $this->timeout);
		if ($parseHeader) {
			curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, [$this, 'parseHeaders']);
		}
	}
private function initCurl($parseHeader) {
		$this->curl = @curl_init();
		if (!$this->curl) {
			return;
		}

		curl_setopt($this->curl, CURLOPT_AUTOREFERER, true);
		curl_setopt($this->curl, CURLOPT_FOLLOWLOCATION, true);
		curl_setopt($this->curl, CURLOPT_TCP_NODELAY, true);
		curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true);
		curl_setopt($this->curl, CURLOPT_MAXREDIRS, 5);
		curl_setopt($this->curl, CURLOPT_SSL_VERIFYPEER, false);
		curl_setopt($this->curl, CURLOPT_SSL_VERIFYHOST, false);
		curl_setopt($this->curl, CURLOPT_ENCODING, 'gzip, deflate');
		curl_setopt($this->curl, CURLOPT_USERAGENT, $this->agent);
		curl_setopt($this->curl, CURLOPT_HEADER, false);
		curl_setopt($this->curl, CURLOPT_SAFE_UPLOAD, true);

		if ($this->proxy) {
			curl_setopt($this->curl, CURLOPT_PROXY, $this->proxy);
		}

		curl_setopt($this->curl, CURLOPT_CONNECTTIMEOUT, 15);

		curl_setopt($this->curl, CURLOPT_TIMEOUT, $this->timeout);
		if ($parseHeader) {
			curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, [$this, 'parseHeaders']);
		}
	}
初始化curl.

@param $parseHeader