summaryrefslogtreecommitdiff
path: root/src/lib/http_server.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-03 01:29:36 +0100
committerCarl Hetherington <cth@carlh.net>2026-04-25 12:55:25 +0200
commitfd463613f7fa3857191df889e8a06b7293c8a1b2 (patch)
tree0cd6b183799b5403005df9a4073b1dc3c9ec6168 /src/lib/http_server.h
parent1de73617189af0de3c6e8d0869ba432d4d803a47 (diff)
Allow handling of HTTP request body.
Diffstat (limited to 'src/lib/http_server.h')
-rw-r--r--src/lib/http_server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/http_server.h b/src/lib/http_server.h
index ca4f498e4..b07ec47b1 100644
--- a/src/lib/http_server.h
+++ b/src/lib/http_server.h
@@ -82,9 +82,9 @@ public:
private:
void handle(std::shared_ptr<Socket> socket) override;
- Response request(std::vector<std::string> const& request);
+ Response request(std::vector<std::string> const& request, std::string const& body);
Response get(std::string const& url);
- Response post(std::string const& url);
+ Response post(std::string const& url, std::string const& body);
boost::mutex _mutex;
bool _playing = false;