summaryrefslogtreecommitdiff
path: root/src/apiHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apiHandler.h')
-rw-r--r--src/apiHandler.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/apiHandler.h b/src/apiHandler.h
new file mode 100644
index 0000000..6909fdd
--- /dev/null
+++ b/src/apiHandler.h
@@ -0,0 +1,22 @@
+#ifndef _APIHANDLER_
+#define APIHANDLER
+
+#include <iostream>
+#include <string>
+#include <vector>
+#include <regex>
+#include "mongoose.h"
+
+using namespace std;
+
+class apiHandler {
+private:
+ struct mg_connection *MyConnection;
+
+public:
+ apiHandler(struct mg_connection*);
+ ~apiHandler(void);
+ int processRequest();
+};
+
+#endif