namespace Netch.Servers;
public class V2rayNJObject
{
///
/// 链接版本
///
public int v { get; set; } = 2;
///
/// 备注
///
public string ps { get; set; } = string.Empty;
///
/// 地址
///
public string add { get; set; } = string.Empty;
///
/// 端口
///
public ushort port { get; set; }
///
/// 用户 ID
///
public string id { get; set; } = string.Empty;
///
/// 额外 ID
///
public int aid { get; set; }
///
/// 加密方式 (security)
///
public string scy { get; set; } = "auto";
///
/// 传输协议
///
public string net { get; set; } = string.Empty;
///
/// 伪装类型
///
public string type { get; set; } = string.Empty;
///
/// 伪装域名(HTTP,WS)
///
public string host { get; set; } = string.Empty;
///
/// 伪装路径/服务名称
///
public string path { get; set; } = string.Empty;
///
/// 是否使用 TLS
///
public string tls { get; set; } = string.Empty;
///
/// serverName
///
public string sni { get; set; } = string.Empty;
}