summaryrefslogtreecommitdiffstats
path: root/net/server/http_server_request_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/server/http_server_request_info.h')
-rw-r--r--net/server/http_server_request_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server/http_server_request_info.h b/net/server/http_server_request_info.h
index 21f319a..4c08c1f 100644
--- a/net/server/http_server_request_info.h
+++ b/net/server/http_server_request_info.h
@@ -20,6 +20,9 @@ class HttpServerRequestInfo {
HttpServerRequestInfo();
~HttpServerRequestInfo();
+ // Returns header value for given header name.
+ std::string GetHeaderValue(const std::string& header_name) const;
+
// Request method.
std::string method;