namespace Netch.Servers.Models
{
///
/// 使用 v2rayN 定义的 VMess 链接格式
///
public class V2rayNSharing
{
///
/// 地址
///
public string add { get; set; } = string.Empty;
///
/// 额外 ID
///
public int aid { get; set; }
///
/// 伪装域名(HTTP,WS)
///
public string? host { get; set; } = string.Empty;
///
/// 用户 ID
///
public string id { get; set; } = string.Empty;
///
/// 传输协议
///
public string net { get; set; } = string.Empty;
///
/// 伪装路径
///
public string? path { get; set; } = string.Empty;
///
/// 端口
///
public ushort port { get; set; }
///
/// 备注
///
public string ps { get; set; } = string.Empty;
///
/// 是否使用 TLS
///
public string tls { get; set; } = string.Empty;
///
/// 伪装类型
///
public string type { get; set; } = string.Empty;
///
/// 链接版本
///
public int v { get; set; } = 2;
}
}