public function getRequestInfo($key = null)
    {
        if ( ! $this->isInitialized())
        {
            return $key ? '' : [];
        }

        return $key ? curl_getinfo($this->curl, $key) : curl_getinfo($this->curl);
    }
public function getRequestInfo($key = null)
    {
        if ( ! $this->isInitialized())
        {
            return $key ? '' : [];
        }

        return $key ? curl_getinfo($this->curl, $key) : curl_getinfo($this->curl);
    }
public function getRequestInfo ( $ key = null ) { if ( ! $ this -> isInitialized ( ) ) { return $ key ? '' : [ ] ; } return $ key ? curl_getinfo ( $ this -> curl , $ key ) : curl_getinfo ( $ this -> curl ) ; }
Get additional information about the last cURL request

@param string $key

@return string|array
Get additional information about the last cURL request