feat: 目前完成了订阅功能和 Xray-Core 的更新管理.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.Text.Json.Nodes;
|
||||
|
||||
namespace Proxd_man.Config.Stream;
|
||||
|
||||
/// <summary>
|
||||
/// 以 TCP 形式不加密直接传输.
|
||||
///
|
||||
/// 目前暂时不支持设置 Proxy Protocol.
|
||||
/// </summary>
|
||||
public class RawStreamSetting : BaseStreamSetting
|
||||
{
|
||||
|
||||
public RawStreamSetting()
|
||||
{
|
||||
StreamType = StreamType.Raw;
|
||||
}
|
||||
|
||||
protected override string GetSpecificSettingFieldName()
|
||||
{
|
||||
return "rawSettings";
|
||||
}
|
||||
|
||||
protected override JsonObject ToJsonSpecificSetting()
|
||||
{
|
||||
var setting = new JsonObject();
|
||||
|
||||
return setting;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user