src/Guzzle/Http/Message/Response.php
public function getInfo($key = null)
    {
        if ($key === null) {
            return $this->info;
        } elseif (array_key_exists($key, $this->info)) {
            return $this->info[$key];
        } else {
            return null;
        }
    }
public function getInfo($key = null)
    {
        if ($key === null) {
            return $this->info;
        } elseif (array_key_exists($key, $this->info)) {
            return $this->info[$key];
        } else {
            return null;
        }
    }
public function getInfo ( $ key = null ) { if ( $ key === null ) { return $ this -> info ; } elseif ( array_key_exists ( $ key , $ this -> info ) ) { return $ this -> info [ $ key ] ; } else { return null ; } }
Get a cURL transfer information

@param string $key A single statistic to check

@return array|string|null Returns all stats if no key is set, a single stat if a key is set, or null if a key
is set and not found
@link http://www.php.net/manual/en/function.curl-getinfo.php
Get a cURL transfer information