using System.Collections.Generic; using Netch.Servers.VMess; namespace Netch.Servers.VLESS { public class VLESS : VMess.VMess { public override string Type { get; } = "VLESS"; /// /// 加密方式 /// public override string EncryptMethod { get; set; } = "none"; /// /// 传输协议 /// public override string TransferProtocol { get; set; } = VLESSGlobal.TransferProtocols[0]; /// /// 伪装类型 /// public override string FakeType { get; set; } = VLESSGlobal.FakeTypes[0]; /// /// public string? Flow { get; set; } } public class VLESSGlobal { public static readonly List TLSSecure = new() { "none", "tls", "xtls" }; public static List FakeTypes => VMessGlobal.FakeTypes; public static List TransferProtocols => VMessGlobal.TransferProtocols; public static List QUIC => VMessGlobal.QUIC; } }