XRootD
XrdClHttp::ResponseInfo Class Reference

#include <XrdClHttpResponseInfo.hh>

+ Collaboration diagram for XrdClHttp::ResponseInfo:

Public Types

using HeaderMap = std::unordered_map< std::string, HeaderValues >
 
using HeaderResponses = std::vector< HeaderMap >
 
using HeaderValues = std::vector< std::string >
 

Public Member Functions

virtual ~ResponseInfo ()
 
void AddResponse (HeaderMap &&map)
 
const HeaderResponsesGetHeaderResponse () const
 

Detailed Description

Definition at line 18 of file XrdClHttpResponseInfo.hh.

Member Typedef Documentation

◆ HeaderMap

using XrdClHttp::ResponseInfo::HeaderMap = std::unordered_map<std::string, HeaderValues>

Definition at line 30 of file XrdClHttpResponseInfo.hh.

◆ HeaderResponses

using XrdClHttp::ResponseInfo::HeaderResponses = std::vector<HeaderMap>

Definition at line 34 of file XrdClHttpResponseInfo.hh.

◆ HeaderValues

using XrdClHttp::ResponseInfo::HeaderValues = std::vector<std::string>

Definition at line 25 of file XrdClHttpResponseInfo.hh.

Constructor & Destructor Documentation

◆ ~ResponseInfo()

virtual XrdClHttp::ResponseInfo::~ResponseInfo ( )
inlinevirtual

Definition at line 21 of file XrdClHttpResponseInfo.hh.

21 {};

Member Function Documentation

◆ AddResponse()

void XrdClHttp::ResponseInfo::AddResponse ( HeaderMap &&  map)
inline

Definition at line 39 of file XrdClHttpResponseInfo.hh.

39 {m_header_responses.emplace_back(map);}

◆ GetHeaderResponse()

const HeaderResponses& XrdClHttp::ResponseInfo::GetHeaderResponse ( ) const
inline

Definition at line 36 of file XrdClHttpResponseInfo.hh.

36 {return m_header_responses;}

The documentation for this class was generated from the following file: