diff options
author | aykeron <aykeron@yandex-team.com> | 2023-10-23 18:54:22 +0300 |
---|---|---|
committer | aykeron <aykeron@yandex-team.com> | 2023-10-23 19:36:01 +0300 |
commit | 1d5fc29e2265eb3456c0b7db3f916b1095038dce (patch) | |
tree | 90ffad750d3bf3c2127de8f598d6186a89b11bd0 /library/cpp | |
parent | e599669cb835689e7456f75778e2b304010e0961 (diff) | |
download | ydb-1d5fc29e2265eb3456c0b7db3f916b1095038dce.tar.gz |
move version of SetContent
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/http/server/response.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/cpp/http/server/response.h b/library/cpp/http/server/response.h index 8b7819de1e..b5ce0f9320 100644 --- a/library/cpp/http/server/response.h +++ b/library/cpp/http/server/response.h @@ -62,6 +62,12 @@ public: return *this; } + THttpResponse& SetContent(TString&& content) { + Content = std::move(content); + + return *this; + } + TString GetContent() const { return Content; } |