summaryrefslogtreecommitdiff
path: root/http_json.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-08-04 21:54:38 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-08-04 21:54:38 +0200
commita0f327140c4068afd46b264d24f767c4dd3d0f40 (patch)
tree13c0ccf3e9a56d91fa61c0252d32168b90a78260 /http_json.h
parentca1fc859f27560c7988f078cff89f40f1b6e2c0f (diff)
Implemented JSON list handler.HEADmaster
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