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-02-16 01:20:38 +0100
commitf2f33d7c4816d09928b6b7c36836f5bcdf6fc2f1 (patch)
tree12116cdb86f4c1842db5bbb5c12c7f16adc4645e /src/lib/http_server.h
parent435ee4c53263f78a098a93b1baaced579c06b1e7 (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;