2021-08-20 06:52:45 +03:00
|
|
|
|
using ProxySuper.Core.Services;
|
2021-06-17 13:54:07 +03:00
|
|
|
|
using System;
|
2021-05-13 04:58:45 +03:00
|
|
|
|
using System.Collections.Generic;
|
2021-07-12 12:58:51 +03:00
|
|
|
|
using System.Linq;
|
2021-08-20 06:52:45 +03:00
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2021-05-13 04:58:45 +03:00
|
|
|
|
|
2021-05-14 14:07:19 +03:00
|
|
|
|
namespace ProxySuper.Core.Models.Projects
|
2021-05-13 04:58:45 +03:00
|
|
|
|
{
|
2021-08-20 06:52:45 +03:00
|
|
|
|
public class XraySettings : V2raySettings
|
2021-05-13 04:58:45 +03:00
|
|
|
|
{
|
2022-11-23 17:06:09 +03:00
|
|
|
|
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" };
|
2022-11-21 11:42:47 +03:00
|
|
|
|
public static List<string> UTLSList = new List<string> { "", "chrome", "firefox", "safari", "randomized" };
|
|
|
|
|
|
|
|
|
|
public string UTLS { get; set; } = UTLSList[1];
|
|
|
|
|
|
2022-11-23 17:06:09 +03:00
|
|
|
|
public string Flow { get; set; } = FlowList[2];
|
|
|
|
|
|
2021-08-19 12:54:23 +03:00
|
|
|
|
/// <summary>
|
2021-08-20 06:52:45 +03:00
|
|
|
|
/// vless xtls shareLink
|
2021-08-19 12:54:23 +03:00
|
|
|
|
/// </summary>
|
2021-08-20 06:52:45 +03:00
|
|
|
|
public string VLESS_TCP_XTLS_ShareLink
|
2021-06-17 13:54:07 +03:00
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2021-08-20 06:52:45 +03:00
|
|
|
|
return ShareLink.Build(RayType.VLESS_TCP_XTLS, this);
|
2021-05-13 04:58:45 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|