summaryrefslogtreecommitdiff
path: root/http_json.h
diff options
context:
space:
mode:
Diffstat (limited to 'http_json.h')
-rw-r--r--http_json.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/http_json.h b/http_json.h
new file mode 100644
index 0000000..14addef
--- /dev/null
+++ b/http_json.h
@@ -0,0 +1,15 @@
+#ifndef HTTP_JSON_H
+#define HTTP_JSON_H
+
+#include "http_connection.h"
+
+namespace HTTP {
+ //! JSON handler.
+ class JSON {
+ public:
+ //! Handle request.
+ void operator()(Connection::p connection);
+ };
+};
+
+#endif