RouterRule.toBalancer constructor
RouterRule.toBalancer({
- String? ruleTag,
- required String balancerTag,
- XrayStringList? domain,
- XrayStringList? domains,
- XrayStringList? ip,
- XrayPortList? port,
- XrayNetworkList? network,
- XrayStringList? sourceIP,
- XrayStringList? source,
- XrayPortList? sourcePort,
- XrayStringList? user,
- XrayPortList? vlessRoute,
- XrayStringList? inboundTag,
- XrayStringList? protocols,
- Map<
String, String> ? attributes, - XrayStringList? localIP,
- XrayPortList? localPort,
- XrayStringList? process,
- WebhookRuleConfig? webhook,
Implementation
factory RouterRule.toBalancer({
String? ruleTag,
required String balancerTag,
XrayStringList? domain,
XrayStringList? domains,
XrayStringList? ip,
XrayPortList? port,
XrayNetworkList? network,
XrayStringList? sourceIP,
XrayStringList? source,
XrayPortList? sourcePort,
XrayStringList? user,
XrayPortList? vlessRoute,
XrayStringList? inboundTag,
XrayStringList? protocols,
Map<String, String>? attributes,
XrayStringList? localIP,
XrayPortList? localPort,
XrayStringList? process,
WebhookRuleConfig? webhook,
}) => RouterRule(
ruleTag: ruleTag,
balancerTag: balancerTag,
domain: domain,
domains: domains,
ip: ip,
port: port,
network: network,
sourceIP: sourceIP,
source: source,
sourcePort: sourcePort,
user: user,
vlessRoute: vlessRoute,
inboundTag: inboundTag,
protocols: protocols,
attributes: attributes,
localIP: localIP,
localPort: localPort,
process: process,
webhook: webhook,
);