添加项目文件。

This commit is contained in:
UnknownObject
2026-06-30 17:46:34 +08:00
parent 415124601e
commit d7ce0fe00a
75 changed files with 9723 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "ServerProcessor.h"
class CORSProcessor : public ServerProcessor
{
private:
std::set<std::string> ParseHeaderList(const std::string& raw_headers);
std::set<std::string> ParseMethodList(const std::string& raw_headers);
public:
uns::ResponsePtr Processor(uns::RequestPtr request) override;
public:
static std::string UrlRegex();
static std::shared_ptr<CORSProcessor> SharedPtr();
};