summaryrefslogtreecommitdiff
path: root/http/http_response.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/http_response.hpp')
-rw-r--r--http/http_response.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/http/http_response.hpp b/http/http_response.hpp
index dd1f37aea2..ddc808cb29 100644
--- a/http/http_response.hpp
+++ b/http/http_response.hpp
@@ -92,6 +92,11 @@ struct Response
return *this;
}
+ void result(unsigned v)
+ {
+ stringResponse->result(v);
+ }
+
void result(boost::beast::http::status v)
{
stringResponse->result(v);