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
|
|
|
|
{
|
|
|
|
|
public partial class XraySettings
|
|
|
|
|
{
|
2021-05-22 06:12:26 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// vless xtls shareLink
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_TCP_XTLS_ShareLink
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return ShareLink.Build(XrayType.VLESS_TCP_XTLS, this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// vless tcp shareLink
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_TCP_ShareLink
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return ShareLink.Build(XrayType.VLESS_TCP, this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-13 04:58:45 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// websocket path
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_WS_Path { get; set; }
|
|
|
|
|
|
2021-05-22 06:12:26 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// VLESS WS ShareLink
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_WS_ShareLink
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return ShareLink.Build(XrayType.VLESS_WS, this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-13 04:58:45 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// kcp seed
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_KCP_Seed { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// kcp type
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_KCP_Type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// kcp port
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int VLESS_KCP_Port { get; set; }
|
|
|
|
|
|
2021-05-22 06:12:26 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// VLESS KCP ShareLink
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_KCP_ShareLink
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return ShareLink.Build(XrayType.VLESS_KCP, this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-13 04:58:45 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// grpc port
|
|
|
|
|
/// </summary>
|
2021-05-15 11:45:36 +03:00
|
|
|
|
public int VLESS_gRPC_Port { get; set; }
|
2021-05-13 04:58:45 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// grpc service name
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_gRPC_ServiceName { get; set; }
|
2021-05-22 06:12:26 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// vless grpc share link
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VLESS_gRPC_ShareLink
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return ShareLink.Build(XrayType.VLESS_gRPC, this);
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-05-13 04:58:45 +03:00
|
|
|
|
}
|
|
|
|
|
}
|