|
@@ -15,7 +15,7 @@ namespace Shadowsocks.Interop.V2Ray |
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Gets or sets the domain matcher used for routing. |
|
|
/// Gets or sets the domain matcher used for routing. |
|
|
/// Default value: "linear". |
|
|
/// Default value: "linear". |
|
|
/// Available values: "linear" | "hybrid" |
|
|
|
|
|
|
|
|
/// Available values: "linear" | "mph" |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
public string DomainMatcher { get; set; } |
|
|
public string DomainMatcher { get; set; } |
|
|
|
|
|
|
|
@@ -39,13 +39,13 @@ namespace Shadowsocks.Interop.V2Ray |
|
|
public static RoutingObject Default => new() |
|
|
public static RoutingObject Default => new() |
|
|
{ |
|
|
{ |
|
|
DomainStrategy = "IPOnDemand", |
|
|
DomainStrategy = "IPOnDemand", |
|
|
DomainMatcher = "hybrid", |
|
|
|
|
|
|
|
|
DomainMatcher = "mph", |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
public static RoutingObject DefaultBalancers => new() |
|
|
public static RoutingObject DefaultBalancers => new() |
|
|
{ |
|
|
{ |
|
|
DomainStrategy = "IPOnDemand", |
|
|
DomainStrategy = "IPOnDemand", |
|
|
DomainMatcher = "hybrid", |
|
|
|
|
|
|
|
|
DomainMatcher = "mph", |
|
|
Balancers = new(), |
|
|
Balancers = new(), |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|