diff options
Diffstat (limited to 'src/HttpServer.cc')
| -rw-r--r-- | src/HttpServer.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 15016501..31893c95 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -137,6 +137,11 @@ std::string HttpServer::getBody() const return lastBody_.str(); } +const std::string& HttpServer::getMethod() const +{ + return lastRequestHeader_->getMethod(); +} + const std::string& HttpServer::getRequestPath() const { return lastRequestHeader_->getRequestPath(); |
