diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-05-16 17:12:29 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-05-16 17:12:29 -0700 |
| commit | 69ceb7e730a1fe4e2d0f82c7d29875bd796468ea (patch) | |
| tree | e754adc8d6f867d86d50d4277350a9b50c8a52d2 /controller/SqliteNetworkController.hpp | |
| parent | cf51961d523222815cde064d88955aee88352eb5 (diff) | |
| download | infinitytier-69ceb7e730a1fe4e2d0f82c7d29875bd796468ea.tar.gz infinitytier-69ceb7e730a1fe4e2d0f82c7d29875bd796468ea.zip | |
Basic controller JSON API seems to be working.
Diffstat (limited to 'controller/SqliteNetworkController.hpp')
| -rw-r--r-- | controller/SqliteNetworkController.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/controller/SqliteNetworkController.hpp b/controller/SqliteNetworkController.hpp index a58741b5..5c92cc0b 100644 --- a/controller/SqliteNetworkController.hpp +++ b/controller/SqliteNetworkController.hpp @@ -80,6 +80,14 @@ public: std::string &responseContentType); private: + unsigned int _doCPGet( + const std::vector<std::string> &path, + const std::map<std::string,std::string> &urlArgs, + const std::map<std::string,std::string> &headers, + const std::string &body, + std::string &responseBody, + std::string &responseContentType); + std::string _dbPath; sqlite3 *_db; |
