namespace Netch.Models.Config
{
public class V2Ray
{
///
/// FullCone 支持(需要 xray-core 服务端版本 v1.3.0+)
///
public bool FullCone = false;
///
/// 跳过证书认证
///
public bool Insecure = false;
///
/// 多路复用
///
public bool Multiplex = false;
///
/// KCP 设定
///
public V2RayKCP KCP = new();
}
public class V2RayKCP
{
///
/// MTU
///
public int MTU = 1450;
///
/// TTI
///
public int TTI = 50;
///
/// 上行链路流量
///
public int UPC = 5;
///
/// 下行链路流量
///
public int DLC = 20;
///
/// 读取缓冲区大小(MB)
///
public int RBS = 2;
///
/// 写入缓冲区大小(MB)
///
public int WBS = 2;
///
/// 拥塞控制
///
public bool BBR = false;
}
}