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