src/Net/CURL.php
public function getInfo( $key = NULL )
	{
		if( !$this->info )
			throw new RuntimeException( "No Request has been sent, yet." );
		if( empty( $key ) )
			return $this->info;
		else if( isset( $this->info[$key] ) )
			return $this->info[$key];
		else
			return NULL;
	}
public function getInfo( $key = NULL )
	{
		if( !$this->info )
			throw new RuntimeException( "No Request has been sent, yet." );
		if( empty( $key ) )
			return $this->info;
		else if( isset( $this->info[$key] ) )
			return $this->info[$key];
		else
			return NULL;
	}
public function getInfo ( $ key = NULL ) { if ( ! $ this -> info ) throw new RuntimeException ( "No Request has been sent, yet." ) ; if ( empty ( $ key ) ) return $ this -> info ; else if ( isset ( $ this -> info [ $ key ] ) ) return $ this -> info [ $ key ] ; else return NULL ; }
Return the information of the last cURL request.
@access		public
@param		string		$key		Key name of Information
@return		mixed
Return the information of the last cURL request .