Add MASQUE warp support (#10498)

This commit is contained in:
DHR60
2026-11-02 01:30:09 +00:00
committed by GitHub
parent d4880dbe02
commit 59487dca75
12 changed files with 175 additions and 10 deletions
@@ -451,6 +451,14 @@ public class MasqueSettings4Ray
{
public string? path { get; set; }
public Dictionary<string, string>? headers { get; set; }
public MasqueWarpSettings4Ray? warp { get; set; }
}
public class MasqueWarpSettings4Ray
{
public string? privateKey { get; set; }
public string? publicKey { get; set; }
public List<string>? address { get; set; }
}
public class UdpHop4Ray
@@ -49,6 +49,9 @@ public record ProtocolExtraItem
// MASQUE
public string? MasquePath { get; init; }
public string? MasqueHeaders { get; init; }
public string? WarpPublicKey { get; init; }
public string? WarpPrivateKey { get; init; }
public string? WarpAddress { get; init; }
// group profile
public string? GroupType { get; init; }