comparison Core/HttpServer/HttpOutput.h @ 1884:7bef560b9782 dcmtk-3.6.1

integration mainline->dcmtk-3.6.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Dec 2015 09:45:07 +0100
parents 5cf2bd0abfa2
children b1291df2f780
comparison
equal deleted inserted replaced
1874:950745f3f48b 1884:7bef560b9782
97 void SendBody(const void* buffer, size_t length); 97 void SendBody(const void* buffer, size_t length);
98 98
99 void StartMultipart(const std::string& subType, 99 void StartMultipart(const std::string& subType,
100 const std::string& contentType); 100 const std::string& contentType);
101 101
102 void SendMultipartItem(const void* item, size_t length); 102 void SendMultipartItem(const void* item,
103 size_t length,
104 const std::map<std::string, std::string>& headers);
103 105
104 void CloseMultipart(); 106 void CloseMultipart();
105 107
106 void CloseBody(); 108 void CloseBody();
107 109
200 const std::string& contentType) 202 const std::string& contentType)
201 { 203 {
202 stateMachine_.StartMultipart(subType, contentType); 204 stateMachine_.StartMultipart(subType, contentType);
203 } 205 }
204 206
205 void SendMultipartItem(const std::string& item); 207 void SendMultipartItem(const void* item,
206 208 size_t size,
207 void SendMultipartItem(const void* item, size_t size) 209 const std::map<std::string, std::string>& headers)
208 { 210 {
209 stateMachine_.SendMultipartItem(item, size); 211 stateMachine_.SendMultipartItem(item, size, headers);
210 } 212 }
211 213
212 void CloseMultipart() 214 void CloseMultipart()
213 { 215 {
214 stateMachine_.CloseMultipart(); 216 stateMachine_.CloseMultipart();