summaryrefslogtreecommitdiffhomepage
path: root/NetEx/HttpParam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NetEx/HttpParam.cpp')
-rw-r--r--NetEx/HttpParam.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/NetEx/HttpParam.cpp b/NetEx/HttpParam.cpp
new file mode 100644
index 0000000..933e01a
--- /dev/null
+++ b/NetEx/HttpParam.cpp
@@ -0,0 +1,21 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+*/
+
+#include "HttpParam.h"
+
+
+HttpParam::HttpParam(const char* n, const char* v) :
+ name(n),
+ value(v)
+{
+}
+
+
+int
+HttpParam::operator == (const HttpParam& p) const
+{
+ return name == p.name;
+}