diff options
author | Aki <please@ignore.pl> | 2022-03-29 22:40:57 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-29 22:40:57 +0200 |
commit | 6204e62c69c1a05d3beddd0c7397b3f54e576d74 (patch) | |
tree | 6dfc5ef3c017942fd1a9d980893fe1c0c0ebd427 /NetEx/HttpParam.h | |
parent | ed2b908b7d88bcb5730ef74ae97020b683da51ae (diff) | |
download | starshatter-6204e62c69c1a05d3beddd0c7397b3f54e576d74.zip starshatter-6204e62c69c1a05d3beddd0c7397b3f54e576d74.tar.gz starshatter-6204e62c69c1a05d3beddd0c7397b3f54e576d74.tar.bz2 |
Split Param, Response and Request from HttpServer files
Diffstat (limited to 'NetEx/HttpParam.h')
-rw-r--r-- | NetEx/HttpParam.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/NetEx/HttpParam.h b/NetEx/HttpParam.h new file mode 100644 index 0000000..8d84296 --- /dev/null +++ b/NetEx/HttpParam.h @@ -0,0 +1,27 @@ +/* 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. +*/ + +#ifndef HttpParam_h +#define HttpParam_h + +#include "Text.h" + + +class HttpParam +{ +public: + static const char* TYPENAME() { return "HttpParam"; } + + HttpParam(const char* n, const char* v); + + int operator == (const HttpParam& p) const; + + Text name; + Text value; +}; + + +#endif // HttpParam_h |