fragment + sockopt options

This commit is contained in:
Alireza 2024-03-17 12:30:05 +01:00
parent aa4d3f72af
commit 909287ab90
2 changed files with 37 additions and 1 deletions

View file

@ -1176,7 +1176,7 @@ namespace v2rayN.Handler
} }
return false; return false;
} }
ProfileItem profileItem = new(); ProfileItem profileItem = new();
//Is v2ray array configuration //Is v2ray array configuration

View file

@ -253,6 +253,29 @@ namespace v2rayN.Model
/// ///
/// </summary> /// </summary>
public int? userLevel { get; set; } public int? userLevel { get; set; }
/// <summary>
///
/// </summary>
public FreedomFragment4Ray? fragment { get; set; }
}
public class FreedomFragment4Ray
{
/// <summary>
/// Packets
/// </summary>
public string packets { get; set; }
/// <summary>
/// Length
/// </summary>
public string length { get; set; }
/// <summary>
/// Interval
/// </summary>
public string interval { get; set; }
} }
public class VnextItem4Ray public class VnextItem4Ray
@ -664,6 +687,19 @@ namespace v2rayN.Model
public class Sockopt4Ray public class Sockopt4Ray
{ {
/// <summary>
/// Dialer Proxy
/// </summary>
public string? dialerProxy { get; set; } public string? dialerProxy { get; set; }
/// <summary>
/// TCP keep-alive idle time
/// </summary>
public int? tcpKeepAliveIdle { get; set; }
/// <summary>
/// TCP no delay option
/// </summary>
public bool? TcpNoDelay { get; set; }
} }
} }