Feature: Add encryption option for client building

This commit is contained in:
yuanyuanxiang
2025-07-13 03:55:33 +08:00
parent db6b55d59b
commit 41295ca03b
12 changed files with 122 additions and 50 deletions

View File

@@ -50,10 +50,17 @@ public:
return 0;
}
virtual void SetServer(const char* addr) {}
virtual PkgMaskType GetMaskType() const {
return MaskTypeNone;
}
};
class HttpMask : public PkgMask {
public:
virtual PkgMaskType GetMaskType() const override {
return MaskTypeHTTP;
}
/**
* @brief 构造函数
* @param host HTTP Host 头字段