using System;
using System.Collections.Generic;
using System.Text;
namespace ProxySU_Core.ViewModels.Developers
{
public class XrayParameters : IParameters
{
///
/// 访问端口
///
public int Port { get; set; }
///
/// UUID
///
public string UUID { get; set; }
///
/// vless ws路径
///
public string VlessWsPath { get; set; }
///
/// vless tcp路径
///
public string VlessTcpPath { get; set; }
///
/// vless http路径
///
public string VlessHttpPath { get; set; }
///
/// vmess ws路径
///
public string VmessWsPath { get; set; }
///
/// vmess tcp路径
///
public string VmessTcpPath { get; set; }
///
/// vmess http路径
///
public string VmessHttpPath { get; set; }
///
/// 域名
///
public string Domain { get; set; }
///
/// 伪装域名
///
public string MaskDomain { get; set; }
///
/// 安装类型
///
public XrayType Type { get; set; }
}
public enum XrayType
{
Shadowsocks_AEAD,
Shadowsocks_TCP,
Sockets5_TLS,
Trojan_TCP_TLS,
// vless
VLESS_H2C_Caddy2,
VLESS_TCP_TLS_WS,
VLESS_TCP_XTLS_WHATEVER,
VLESS_mKCPSeed,
// vmess
VMess_HTTP2,
VMess_TCP_TLS,
VMess_WebSocket_TLS,
VMess_mKCPSeed,
}
}