32 Response(
const char* data,
const UInt_64 size);
49 void SetCode(
const UInt_32 code);
57 void SetServer(
const Str_8& server);
61 Str_8 GetServer()
const;
74 void AddToHeader(
const Str_8& var,
const Str_8& value);
88 void AddToBody(
const Str_8& var,
const Str_8& value);
92 void AddToBody(
const Str_8& data);
96 void SetBody(
const Str_8& body);
105 Str_8 GetBody()
const;
109 Json GetJson()
const;
113 Str_8 FormResult()
const;
115 bool IsValid()
const;
124 void ReadData(
const Str_8& data);
Definition: Response.h:12
Response(const Response &res)=default
unsigned int UInt_32
Definition: Types.h:49
ContentType
Definition: Socket.h:35