HttpPostData.h 291 B

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