From 0d157fb407a35f8afe6d6f0f4c2cc5cd5d5a1933 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 9 Apr 2020 18:30:32 +0200 Subject: Prepared generate_page for static-files plugin --- response.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'response.h') diff --git a/response.h b/response.h index a093320..a877944 100644 --- a/response.h +++ b/response.h @@ -1,6 +1,6 @@ #pragma once -#include "config.h" +#include "server.h" #include @@ -37,4 +37,4 @@ public: }; std::string extend_index_html(std::string path); -std::string generate_response(http::request& req, const Config& config, const Socket& socket); +std::string generate_response(http::request& req, http::response& res, Server& server); -- cgit v1.2.3