mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-12-01 09:36:06 +03:00
31 lines
954 B
C#
31 lines
954 B
C#
using ProxySuper.Core.Services;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProxySuper.Core.Models.Projects
|
|
{
|
|
public class XraySettings : V2raySettings
|
|
{
|
|
public static List<string> FlowList = new List<string> { "xtls-rprx-origin", "xtls-rprx-origin-udp443", "xtls-rprx-direct", "xtls-rprx-direct-udp443", "xtls-rprx-splice", "xtls-rprx-splice-udp443" };
|
|
public static List<string> UTLSList = new List<string> { "", "chrome", "firefox", "safari", "randomized" };
|
|
|
|
public string UTLS { get; set; } = UTLSList[1];
|
|
|
|
public string Flow { get; set; } = FlowList[2];
|
|
|
|
/// <summary>
|
|
/// vless xtls shareLink
|
|
/// </summary>
|
|
public string VLESS_TCP_XTLS_ShareLink
|
|
{
|
|
get
|
|
{
|
|
return ShareLink.Build(RayType.VLESS_TCP_XTLS, this);
|
|
}
|
|
}
|
|
}
|
|
}
|