HttpHeader.h 291 B

1234567891011121314151617181920212223
  1. #ifndef HTTP_HTTPHEADER_H
  2. #define HTTP_HTTPHEADER_H
  3. #include <string>
  4. namespace Http {
  5. struct HttpHeader
  6. {
  7. public:
  8. bool operator==(const std::string& other) const
  9. {
  10. return name == other;
  11. }
  12. std::string name;
  13. std::string value;
  14. };
  15. } // namespace Http
  16. #endif // HTTP_HTTPHEADER_H