src/curlient/Curlient.php
public function useProxy($proxy = null) {
		if ($proxy) {
			$proxy = [CURLOPT_PROXY => $proxy];
		} else {
			$proxy = [CURLOPT_PROXY => null];
		}

		return $this->setup($proxy);
	}
public function useProxy($proxy = null) {
		if ($proxy) {
			$proxy = [CURLOPT_PROXY => $proxy];
		} else {
			$proxy = [CURLOPT_PROXY => null];
		}

		return $this->setup($proxy);
	}
设置代理.

@param null|string $proxy 为null时禁用代理.

@return \curlient\Curlient