diff options
author | tkhanipov <tkhanipov@yandex-team.ru> | 2022-02-10 16:49:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:46 +0300 |
commit | 60c0dade397b9b2f9a22f5daa5b2ea5e433e6e40 (patch) | |
tree | 4acdda76eaabc40a9ee1a272dc41f7a3862409ec /library/cpp/http/io/stream.cpp | |
parent | a27ec9dbf04ab9972fd470b53b8bdd41153226e5 (diff) | |
download | ydb-60c0dade397b9b2f9a22f5daa5b2ea5e433e6e40.tar.gz |
Restoring authorship annotation for <tkhanipov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/io/stream.cpp')
-rw-r--r-- | library/cpp/http/io/stream.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp index 6689be684f..f96ef5b1b2 100644 --- a/library/cpp/http/io/stream.cpp +++ b/library/cpp/http/io/stream.cpp @@ -619,10 +619,10 @@ public: return SupportChunkedTransfer() && IsKeepAliveEnabled() && (Request_ ? Request_->IsKeepAlive() : true); } - inline const TString& FirstLine() const noexcept { - return FirstLine_; - } - + inline const TString& FirstLine() const noexcept { + return FirstLine_; + } + inline size_t SentSize() const noexcept { return SizeCalculator_.Length(); } @@ -958,10 +958,10 @@ void THttpOutput::SendContinue() { Impl_->SendContinue(); } -const TString& THttpOutput::FirstLine() const noexcept { - return Impl_->FirstLine(); -} - +const TString& THttpOutput::FirstLine() const noexcept { + return Impl_->FirstLine(); +} + size_t THttpOutput::SentSize() const noexcept { return Impl_->SentSize(); } |