Update to dms control phase1.

This commit is contained in:
sunwen
2023-08-21 14:22:41 +08:00
parent d1dc5df680
commit 20fb814608
59 changed files with 2538 additions and 904 deletions

23
thirdParty/Req/pub/include/Response.h vendored Normal file
View File

@@ -0,0 +1,23 @@
#ifndef __RESPONSE_H__
#define __RESPONSE_H__
#include "string"
#include <string>
namespace Req {
class Response
{
public:
Response();
Response(Response &&) = default;
Response(const Response &) = default;
Response &operator=(Response &&) = delete;
Response &operator=(const Response &) = delete;
~Response();
long httpCode();
void setHttpCode(long code);
std::string& getContent();
private:
long mHttpCode = 404;
std::string mContent;
};
};
#endif // __RESPONSE_H__