From cbfc28a946ded64e9402e1e6d32511150339ec72 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Apr 2020 20:09:04 +0200 Subject: Prepare DocRoot(), WIP --- config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index a8d6a03..0f5ec78 100644 --- a/config.h +++ b/config.h @@ -70,6 +70,9 @@ class Config const std::vector& Sites() const; const std::vector& Sockets() const; + /// param[in] requested_host e.g. www.domain.com:8080 or www.domain.com + std::string DocRoot(const Socket& socket, const std::string& requested_host, const std::string& requested_path); + void dump() const; }; -- cgit v1.2.3