aboutsummaryrefslogtreecommitdiffstats
path: root/include/http_request.h
diff options
context:
space:
mode:
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;
+ };
+}