diff --git a/client_http.hpp b/client_http.hpp index 4466043..559bbc9 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -43,7 +43,7 @@ namespace SimpleWeb { size_t size() noexcept { return streambuf.size(); } - /// Convenience function to return std::string. Note that the stream buffer is emptied when this functions is used. + /// Convenience function to return std::string. The stream buffer is consumed. std::string string() noexcept { try { std::stringstream ss; diff --git a/server_http.hpp b/server_http.hpp index 7c19d80..28e0b3b 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -157,7 +157,7 @@ namespace SimpleWeb { size_t size() noexcept { return streambuf.size(); } - /// Convenience function to return std::string. Note that the stream buffer is emptied when this functions is used. + /// Convenience function to return std::string. The stream buffer is consumed. std::string string() noexcept { try { std::stringstream ss;