initiatorDomains property

List<String>? initiatorDomains

The rule will only match network requests originating from the list of initiatorDomains. If the list is omitted, the rule is applied to requests from all domains. An empty list is not allowed.

Notes:

  • Sub-domains like "a.example.com" are also allowed.
  • The entries must consist of only ascii characters.
  • Use punycode encoding for internationalized domains.
  • This matches against the request initiator and not the request url.
  • Sub-domains of the listed domains are also matched.

Implementation

List<String>? get initiatorDomains =>
    _wrapped.initiatorDomains?.toDart.cast<String>().map((e) => e).toList();
void initiatorDomains=(List<String>? v)

Implementation

set initiatorDomains(List<String>? v) {
  _wrapped.initiatorDomains = v?.toJSArray((e) => e);
}