RouterRule.toBalancer constructor

RouterRule.toBalancer({
  1. String? ruleTag,
  2. required String balancerTag,
  3. XrayStringList? domain,
  4. XrayStringList? domains,
  5. XrayStringList? ip,
  6. XrayPortList? port,
  7. XrayNetworkList? network,
  8. XrayStringList? sourceIP,
  9. XrayStringList? source,
  10. XrayPortList? sourcePort,
  11. XrayStringList? user,
  12. XrayPortList? vlessRoute,
  13. XrayStringList? inboundTag,
  14. XrayStringList? protocols,
  15. Map<String, String>? attributes,
  16. XrayStringList? localIP,
  17. XrayPortList? localPort,
  18. XrayStringList? process,
  19. 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,
);