diff OrthancFramework/Sources/HttpServer/BufferHttpSender.cpp @ 4300:b30a8de92ad9

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 19:33:18 +0100
parents bf7b9edf6b81
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/BufferHttpSender.cpp	Thu Nov 05 18:24:50 2020 +0100
+++ b/OrthancFramework/Sources/HttpServer/BufferHttpSender.cpp	Thu Nov 05 19:33:18 2020 +0100
@@ -35,6 +35,26 @@
   {
   }
 
+  std::string &BufferHttpSender::GetBuffer()
+  {
+    return buffer_;
+  }
+
+  const std::string &BufferHttpSender::GetBuffer() const
+  {
+    return buffer_;
+  }
+
+  void BufferHttpSender::SetChunkSize(size_t chunkSize)
+  {
+    chunkSize_ = chunkSize;
+  }
+
+  uint64_t BufferHttpSender::GetContentLength()
+  {
+    return buffer_.size();
+  }
+
 
   bool BufferHttpSender::ReadNextChunk()
   {