summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/http/header.hpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-07 10:42:23 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-07 10:42:23 +0100
commitfc58a0bec8bf779af3afecbc6ca59a7b9c9c0b67 (patch)
tree011e6d736c6e191f130c066a860e7fda9d0e0014 /src/lib/http/header.hpp
parentce0e6e6a3e114625e6b33a2ab75489a5b0cba17b (diff)
Added basic HTTP server, not active yet, based on ASIO example with small refactoring included (nw)
Diffstat (limited to 'src/lib/http/header.hpp')
-rw-r--r--src/lib/http/header.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/http/header.hpp b/src/lib/http/header.hpp
new file mode 100644
index 00000000000..7cad96f2439
--- /dev/null
+++ b/src/lib/http/header.hpp
@@ -0,0 +1,21 @@
+// license:Boost
+// copyright-holders:Christopher M. Kohlhoff
+
+#ifndef HTTP_HEADER_HPP
+#define HTTP_HEADER_HPP
+
+#include <string>
+
+namespace http {
+namespace server {
+
+struct header
+{
+ std::string name;
+ std::string value;
+};
+
+} // namespace server
+} // namespace http
+
+#endif // HTTP_HEADER_HPP