src/Net/HTTP/Reader.php
public function getCurlInfo( $key = NULL )
	{
		if( !$this->curlInfo )
			throw new RuntimeException( "No Request has been sent, yet." );
		if( !$key )
			return $this->curlInfo;
		if( !array_key_exists( $key, $this->curlInfo ) )
			throw new InvalidArgumentException( 'Status Key "'.$key.'" is invalid.' );
		return $this->curlInfo[$key];
	}
public function getCurlInfo( $key = NULL )
	{
		if( !$this->curlInfo )
			throw new RuntimeException( "No Request has been sent, yet." );
		if( !$key )
			return $this->curlInfo;
		if( !array_key_exists( $key, $this->curlInfo ) )
			throw new InvalidArgumentException( 'Status Key "'.$key.'" is invalid.' );
		return $this->curlInfo[$key];
	}
public function getCurlInfo ( $ key = NULL ) { if ( ! $ this -> curlInfo ) throw new RuntimeException ( "No Request has been sent, yet." ) ; if ( ! $ key ) return $ this -> curlInfo ; if ( ! array_key_exists ( $ key , $ this -> curlInfo ) ) throw new InvalidArgumentException ( 'Status Key "' . $ key . '" is invalid.' ) ; return $ this -> curlInfo [ $ key ] ; }
Returns Info Array or single Information from last cURL Request.
@access		public
@param		string		$key		Information Key
@return		mixed
Returns Info Array or single Information from last cURL Request .