Files
netch/Netch/Models/Config/V2Ray.cs
Connection Refused f8ce7cc106 [Netch] Updated
2021-09-21 23:00:14 +08:00

59 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Netch.Models.Config
{
public class V2Ray
{
/// <summary>
/// 跳过证书认证
/// </summary>
public bool Insecure = false;
/// <summary>
/// 多路复用
/// </summary>
public bool Multiplex = false;
/// <summary>
/// KCP 设定
/// </summary>
public V2RayKCP KCP = new();
}
public class V2RayKCP
{
/// <summary>
/// MTU
/// </summary>
public int MTU = 1450;
/// <summary>
/// TTI
/// </summary>
public int TTI = 50;
/// <summary>
/// 上行链路流量
/// </summary>
public int UPC = 5;
/// <summary>
/// 下行链路流量
/// </summary>
public int DLC = 20;
/// <summary>
/// 读取缓冲区大小MB
/// </summary>
public int RBS = 2;
/// <summary>
/// 写入缓冲区大小MB
/// </summary>
public int WBS = 2;
/// <summary>
/// 拥塞控制
/// </summary>
public bool BBR = false;
}
}