The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CHTTPHeaders Class Reference

Collaboration diagram for CHTTPHeaders:

List of all members.

Public Member Functions

 CHTTPHeaders ()
 CHTTPHeaders (const CHTTPHeaders &rhs)
 CHTTPHeaders (const JetByteTools::Core::CSystemTime &date)
CHTTPHeadersoperator= (const CHTTPHeaders &rhs)
size_t NumHeaders () const
void Add (const std::string &header)
void Add (const std::string &key, const std::string &value)
void Add (const CHTTPHeaders &headers)
void Reset ()
bool GetRawHeader (size_t &index, std::string &header) const
bool Contains (const std::string &header) const
bool ContainsValue (const std::string &header, const std::string &value) const
bool ContainsCaseInsensitiveValue (const std::string &header, const std::string &value) const
bool ValueContainsCaseInsensitiveToken (const std::string &header, const std::string &token) const
std::string GetValue (const std::string &header) const
bool ValueIs (const std::string &header, const std::string &caseInsensitiveValue) const
std::string GetAsHeaders () const
std::string Dump () const


Constructor & Destructor Documentation

CHTTPHeaders (  ) 

CHTTPHeaders ( const CHTTPHeaders rhs  ) 

CHTTPHeaders ( const JetByteTools::Core::CSystemTime &  date  )  [explicit]


Member Function Documentation

CHTTPHeaders& operator= ( const CHTTPHeaders rhs  ) 

size_t NumHeaders (  )  const

void Add ( const std::string &  header  ) 

void Add ( const std::string &  key,
const std::string &  value 
)

void Add ( const CHTTPHeaders headers  ) 

void Reset (  ) 

bool GetRawHeader ( size_t &  index,
std::string &  header 
) const

bool Contains ( const std::string &  header  )  const

bool ContainsValue ( const std::string &  header,
const std::string &  value 
) const

bool ContainsCaseInsensitiveValue ( const std::string &  header,
const std::string &  value 
) const

bool ValueContainsCaseInsensitiveToken ( const std::string &  header,
const std::string &  token 
) const

string GetValue ( const std::string &  header  )  const

bool ValueIs ( const std::string &  header,
const std::string &  caseInsensitiveValue 
) const

string GetAsHeaders (  )  const

string Dump (  )  const


Generated on Sun Sep 12 19:09:14 2021 for The Server Framework - v7.4 by doxygen 1.5.3