summaryrefslogtreecommitdiff
path: root/src/lib/http_server.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-03 22:40:27 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-16 01:20:39 +0100
commit425d599055c66c63b6d52f0c6ef2da522e359ee7 (patch)
treed5472468f6ea1228455624dd68f1338f047a84d7 /src/lib/http_server.h
parentf3b446cdb542211ba0813c90899bce875f4da772 (diff)
Add substitute().
Diffstat (limited to 'src/lib/http_server.h')
-rw-r--r--src/lib/http_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/http_server.h b/src/lib/http_server.h
index d22a347d3..b100a5db7 100644
--- a/src/lib/http_server.h
+++ b/src/lib/http_server.h
@@ -90,6 +90,7 @@ public:
private:
void handle(std::shared_ptr<Socket> socket) override;
+ void substitute(std::string& page) const;
Response request(std::vector<std::string> const& request, std::string const& body);
Response get_request(std::string const& url);
Response post_request(std::string const& url, std::string const& body);