23 lines
291 B
C++
23 lines
291 B
C++
#ifndef HTTP_HTTPPOSTDATA_H
|
|
#define HTTP_HTTPPOSTDATA_H
|
|
|
|
#include <string>
|
|
|
|
|
|
namespace Http {
|
|
|
|
struct HttpPostData
|
|
{
|
|
bool operator==(const std::string& other) const
|
|
{
|
|
return name == other;
|
|
}
|
|
|
|
std::string name;
|
|
std::string value;
|
|
};
|
|
|
|
} // namespace Http
|
|
|
|
#endif // HTTP_HTTPPOSTDATA_H
|