From a0f327140c4068afd46b264d24f767c4dd3d0f40 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 4 Aug 2011 21:54:38 +0200 Subject: Implemented JSON list handler. --- http_json.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 http_json.h (limited to 'http_json.h') 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 -- cgit v1.2.3