public function setHTTPVersion($version = self::HTTP_1)
	{
		if ($version == self::HTTP_0 || $version == self::HTTP_1) {
			$this->httpVersion = $version;
		} else {
			throw new RuntimeException('Invalid HTTP version setted.');
		}
		
		return $this;
	}
public function setHTTPVersion($version = self::HTTP_1)
	{
		if ($version == self::HTTP_0 || $version == self::HTTP_1) {
			$this->httpVersion = $version;
		} else {
			throw new RuntimeException('Invalid HTTP version setted.');
		}
		
		return $this;
	}
public function setHTTPVersion ( $ version = self :: HTTP_1 ) { if ( $ version == self :: HTTP_0 || $ version == self :: HTTP_1 ) { $ this -> httpVersion = $ version ; } else { throw new RuntimeException ( 'Invalid HTTP version setted.' ) ; } return $ this ; }
Set HTTP protocol version for request

@param integer $version
@throws RuntimeException
@return \Slice\Http\Client
Set HTTP protocol version for request