diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-08-09 13:27:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-08-09 13:27:45 +0100 |
| commit | 2c47ecfa01206bb295f76d6a8b328c3cc5c4a3cb (patch) | |
| tree | 412033ec074173ceabd4363be5aea56bd3438fb1 /src/lib/json_server.h | |
| parent | fdf4bfbca898ba5401a6853f481968d15b6ebded (diff) | |
Remove JSON server code.
Diffstat (limited to 'src/lib/json_server.h')
| -rw-r--r-- | src/lib/json_server.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/lib/json_server.h b/src/lib/json_server.h deleted file mode 100644 index 623067558..000000000 --- a/src/lib/json_server.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - Copyright (C) 2014 Carl Hetherington <cth@carlh.net> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -*/ - -class JSONServer -{ -public: - JSONServer (int port); - -private: - void run (int port); - void handle (boost::shared_ptr<boost::asio::ip::tcp::socket> socket); - void request (std::string url, boost::shared_ptr<boost::asio::ip::tcp::socket> socket); -}; - - |
