Mercurial > hg > orthanc
comparison Core/HttpServer/HttpOutput.h @ 1137:d9c27f9f1a51
OrthancPluginSetHttpHeader
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Sep 2014 17:33:46 +0200 |
parents | da56a7916e8a |
children | 6e7e5ed91c2d |
comparison
equal
deleted
inserted
replaced
1136:208dc67b9bab | 1137:d9c27f9f1a51 |
---|---|
121 const std::string& value) | 121 const std::string& value) |
122 { | 122 { |
123 stateMachine_.SetCookie(cookie, value); | 123 stateMachine_.SetCookie(cookie, value); |
124 } | 124 } |
125 | 125 |
126 void AddHeader(const std::string& key, | |
127 const std::string& value) | |
128 { | |
129 stateMachine_.AddHeader(key, value); | |
130 } | |
131 | |
126 void SendBody(const void* buffer, size_t length); | 132 void SendBody(const void* buffer, size_t length); |
127 | 133 |
128 void SendBody(const std::string& str); | 134 void SendBody(const std::string& str); |
129 | 135 |
130 void SendBody(); | 136 void SendBody(); |