summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
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<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;
};