diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-04 20:09:04 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-04 20:09:04 +0200 |
commit | cbfc28a946ded64e9402e1e6d32511150339ec72 (patch) | |
tree | bec1e30fdd97e99e88a7b168f3cad7278b59157e /config.h | |
parent | 1fcaed7a34cce8e55bb071d503bb583f715e7d37 (diff) |
Prepare DocRoot(), WIP
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -70,6 +70,9 @@ class Config const std::vector<Site>& Sites() const; const std::vector<Socket>& 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; }; |