From b77bb246e366d346b55cc8cfb4f1d0ac83211ae7 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 1 May 2020 11:19:21 +0200 Subject: Added fcgi module (WIP) --- plugins/fcgi/fcgi.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/fcgi/fcgi.h (limited to 'plugins/fcgi/fcgi.h') diff --git a/plugins/fcgi/fcgi.h b/plugins/fcgi/fcgi.h new file mode 100644 index 0000000..7edfe91 --- /dev/null +++ b/plugins/fcgi/fcgi.h @@ -0,0 +1,21 @@ +#pragma once + +#include "../../plugin_interface.h" + +class fcgi_plugin: public webserver_plugin_interface +{ +public: + fcgi_plugin(); + ~fcgi_plugin(); + + std::string name(); + 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 fcgi_plugin webserver_plugin; +fcgi_plugin webserver_plugin; -- cgit v1.2.3