Public Member Functions | |
CHeaders () | |
CHeaders (const CHeaders &rhs) | |
CHeaders & | operator= (const CHeaders &rhs) |
size_t | NumHeaders () const |
void | Add (const std::string &header) |
void | Add (const std::string &key, const std::string &value) |
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 |
std::string | GetAsHeaders () const |
std::string | Dump () const |
CHeaders | ( | ) |
size_t NumHeaders | ( | ) | const |
void Add | ( | const std::string & | header | ) |
void Add | ( | const std::string & | key, | |
const std::string & | value | |||
) |
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 |
string GetAsHeaders | ( | ) | const |
string Dump | ( | ) | const |