From 77a68fbe16246245937c5d692bb8c89dc14d7800 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 11 Apr 2020 16:56:36 +0200 Subject: Webbox (WIP) --- plugins/webbox/webbox.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/webbox/webbox.h') diff --git a/plugins/webbox/webbox.h b/plugins/webbox/webbox.h index 037a725..d6d26c1 100644 --- a/plugins/webbox/webbox.h +++ b/plugins/webbox/webbox.h @@ -8,7 +8,11 @@ public: webbox_plugin(); ~webbox_plugin(); std::string name(); - std::string generate_page(std::string path); + std::string generate_page( + std::function& GetServerParam, + std::function& GetRequestParam, // request including body (POST...) + std::function& SetResponseHeader // to be added to result string + ); }; extern "C" BOOST_SYMBOL_EXPORT webbox_plugin webserver_plugin; -- cgit v1.2.3