Skip to content

Commit f3ed56c

Browse files
author
Krzysztof
committed
Enable reponse string to be obtained from response object
1 parent 7f10bed commit f3ed56c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/httpserver/string_response.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ class string_response : public http_response
8181
return *this;
8282
}
8383

84+
const std::string &get_response() const
85+
{
86+
return content;
87+
}
88+
8489
~string_response()
8590
{
8691
}

0 commit comments

Comments
 (0)