Serializing should not affect object
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user