summaryrefslogtreecommitdiffstats
path: root/WebServer/WebServer.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-31 21:56:42 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-31 21:56:42 +0100
commit968f41ba511f8f74377b1a1c7b61ff759ebe3078 (patch)
treec52f95f94444254cd93e8e3460f7013eaab18b41 /WebServer/WebServer.h
parentSlight code cleanup, no big changes (diff)
downloadcuberite-968f41ba511f8f74377b1a1c7b61ff759ebe3078.tar
cuberite-968f41ba511f8f74377b1a1c7b61ff759ebe3078.tar.gz
cuberite-968f41ba511f8f74377b1a1c7b61ff759ebe3078.tar.bz2
cuberite-968f41ba511f8f74377b1a1c7b61ff759ebe3078.tar.lz
cuberite-968f41ba511f8f74377b1a1c7b61ff759ebe3078.tar.xz
cuberite-968f41ba511f8f74377b1a1c7b61ff759ebe3078.tar.zst
cuberite-968f41ba511f8f74377b1a1c7b61ff759ebe3078.zip
Diffstat (limited to '')
-rw-r--r--WebServer/WebServer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebServer/WebServer.h b/WebServer/WebServer.h
index a78fc44e4..90b38d407 100644
--- a/WebServer/WebServer.h
+++ b/WebServer/WebServer.h
@@ -36,6 +36,14 @@ class Socket;
class SocketServer;
class webserver {
public:
+ struct formdata
+ {
+ std::string name_;
+ std::string filename_;
+ std::string content_type_;
+ std::string value_;
+ };
+
struct http_request {
http_request()
@@ -56,6 +64,7 @@ public:
std::string user_agent_;
int content_length_;
std::string content_type_;
+ std::vector< formdata > multipart_formdata_;
/* status_: used to transmit server's error status, such as
o 202 OK