public function httpVersion($version) {

		if(false === defined($version)) {
			return trigger_error(sprintf('Argument 1 passed to %s() is not a valid HTTP protocol version', __METHOD__), E_USER_ERROR);
		}

		$this -> options[CURLOPT_HTTP_VERSION] = constant($version);

		return $this;
	}
public function httpVersion($version) {

		if(false === defined($version)) {
			return trigger_error(sprintf('Argument 1 passed to %s() is not a valid HTTP protocol version', __METHOD__), E_USER_ERROR);
		}

		$this -> options[CURLOPT_HTTP_VERSION] = constant($version);

		return $this;
	}
public function httpVersion ( $ version ) { if ( false === defined ( $ version ) ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() is not a valid HTTP protocol version' , __METHOD__ ) , E_USER_ERROR ) ; } $ this -> options [ CURLOPT_HTTP_VERSION ] = constant ( $ version ) ; return $ this ; }
Set the HTTP version protocol
@param int $version
@return sFire\HTTP\Client
Set the HTTP version protocol