diff options
Diffstat (limited to 'src/lib/http_server.h')
| -rw-r--r-- | src/lib/http_server.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/http_server.h b/src/lib/http_server.h index b07ec47b1..982fb4d9a 100644 --- a/src/lib/http_server.h +++ b/src/lib/http_server.h @@ -83,8 +83,9 @@ public: private: void handle(std::shared_ptr<Socket> socket) override; Response request(std::vector<std::string> const& request, std::string const& body); - Response get(std::string const& url); - Response post(std::string const& url, std::string const& body); + Response get_request(std::string const& url); + Response post_request(std::string const& url, std::string const& body); + Response delete_request(std::string const& url); boost::mutex _mutex; bool _playing = false; |
