aboutsummaryrefslogtreecommitdiffstats
path: root/include/http_request.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-08-07 01:18:33 +0900
committeripknHama <ipknhama@gmail.com>2014-08-07 01:18:33 +0900
commit031615ac866cc3c8f1900dd4b4aae2106ad31230 (patch)
treeb8b7206ffbd2043368580ec269c97436929fe452 /include/http_request.h
parenta0c93f5b84cc11b30bc6320ac26127832ef8bf7a (diff)
downloadcrow-031615ac866cc3c8f1900dd4b4aae2106ad31230.tar.gz
crow-031615ac866cc3c8f1900dd4b4aae2106ad31230.zip
source resturcturing + CMake
Diffstat (limited to 'include/http_request.h')
-rw-r--r--include/http_request.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/http_request.h b/include/http_request.h
new file mode 100644
index 0000000..83b6059
--- /dev/null
+++ b/include/http_request.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "common.h"
+
+namespace crow
+{
+ struct request
+ {
+ HTTPMethod method;
+ std::string url;
+ std::unordered_map<std::string, std::string> headers;
+ std::string body;
+ };
+}