comparison OrthancFramework/Sources/HttpServer/MultipartStreamReader.h @ 4298:db3932f9660d

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 18:21:03 +0100
parents 2d5209153b32
children d9473bd5ed43
comparison
equal deleted inserted replaced
4297:785a2713323e 4298:db3932f9660d
66 public: 66 public:
67 explicit MultipartStreamReader(const std::string& boundary); 67 explicit MultipartStreamReader(const std::string& boundary);
68 68
69 void SetBlockSize(size_t size); 69 void SetBlockSize(size_t size);
70 70
71 size_t GetBlockSize() const 71 size_t GetBlockSize() const;
72 {
73 return blockSize_;
74 }
75 72
76 void SetHandler(IHandler& handler) 73 void SetHandler(IHandler& handler);
77 {
78 handler_ = &handler;
79 }
80 74
81 void AddChunk(const void* chunk, 75 void AddChunk(const void* chunk,
82 size_t size); 76 size_t size);
83 77
84 void AddChunk(const std::string& chunk); 78 void AddChunk(const std::string& chunk);