summaryrefslogtreecommitdiff
path: root/src/http.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-06-03 00:09:09 +0200
committerJoel Klinghed <the_jk@yahoo.com>2015-06-03 00:23:19 +0200
commit41c45d4a4d6f8bea9b45d76ddef5d8bac71cfc5a (patch)
tree70f5e4a20a7659529a48174a50ff24da92a01e44 /src/http.hh
parent823dc403a9b56e00be4982d0082d30b8df5e53d6 (diff)
A start for an event handler
Diffstat (limited to 'src/http.hh')
-rw-r--r--src/http.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/http.hh b/src/http.hh
new file mode 100644
index 0000000..58bfb92
--- /dev/null
+++ b/src/http.hh
@@ -0,0 +1,19 @@
+#ifndef HTTP_HH
+#define HTTP_HH
+
+#include <string>
+
+namespace stuff {
+
+class Http {
+public:
+ static void response(unsigned int status, const std::string& content);
+
+private:
+ Http() = delete;
+ ~Http() = delete;
+};
+
+} // namespace stuff
+
+#endif /* HTTP_HH */