Serializing should not affect object

This commit is contained in:
2019-06-15 20:52:58 +02:00
parent 71a7aa147c
commit 5f58b47fb9
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
namespace Http namespace Http
{ {
std::vector<char> Response::Serialize() std::vector<char> Response::Serialize() const
{ {
// TODO implement headers properly // TODO implement headers properly
std::stringstream ss; std::stringstream ss;

View File

@@ -9,7 +9,7 @@ namespace Http
std::string contentType; std::string contentType;
std::vector<char> content; std::vector<char> content;
std::vector<char> Serialize(); std::vector<char> Serialize() const;
Response(); Response();
}; };