1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-23 05:36:08 +03:00
ProxySU/ProxySuper.Core/Models/Projects/V2raySettings_VMESS.cs

66 lines
1.5 KiB
C#
Raw Normal View History

2021-05-22 06:12:26 +03:00
using ProxySuper.Core.Services;
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 partial class V2raySettings
2021-05-13 04:58:45 +03:00
{
/// <summary>
/// vmess websocket path
/// </summary>
public string VMESS_WS_Path { get; set; }
2021-05-22 06:12:26 +03:00
/// <summary>
/// vmess ws sharelink
/// </summary>
public string VMESS_WS_ShareLink
{
get
{
2021-08-20 06:52:45 +03:00
return ShareLink.Build(RayType.VMESS_WS, this);
2021-05-22 06:12:26 +03:00
}
}
2021-05-13 04:58:45 +03:00
/// <summary>
/// mvess tcp path
/// </summary>
public string VMESS_TCP_Path { get; set; }
2021-05-22 06:12:26 +03:00
/// <summary>
/// vmess tcp ShareLink
/// </summary>
public string VMESS_TCP_ShareLink
{
get
{
2021-08-20 06:52:45 +03:00
return ShareLink.Build(RayType.VMESS_TCP, this);
2021-05-22 06:12:26 +03:00
}
}
2021-05-13 04:58:45 +03:00
/// <summary>
/// vmess kcp seed
/// </summary>
public string VMESS_KCP_Seed { get; set; }
/// <summary>
/// vmess kcp type
/// </summary>
public string VMESS_KCP_Type { get; set; }
/// <summary>
/// vmess kcp port
/// </summary>
public int VMESS_KCP_Port { get; set; }
2021-05-22 06:12:26 +03:00
/// <summary>
/// vmess kcp ShareLink
/// </summary>
public string VMESS_KCP_ShareLink
{
get
{
2021-08-20 06:52:45 +03:00
return ShareLink.Build(RayType.VMESS_KCP, this);
2021-05-22 06:12:26 +03:00
}
}
2021-05-13 04:58:45 +03:00
}
}