Builder
Collects the properties of an Untrusted. Not thread-safe; use it only inside the factory's lambda. Extend a set with += (extraDeniedRanges += block).
Stable Core.
Properties
The allowed ports: null for any port, otherwise a non-empty set of ports 1..65535. The default is 80, 443, 8080, 8443.
Host-name suffixes to refuse as reserved names (corp.example refuses corp.example and a.corp.example); empty by default. Canonicalised when the policy is built: lower-case, no leading or trailing dot, not an IP literal.
Address blocks denied in addition to the built-in table; empty by default. See Untrusted.extraDeniedRanges.
How a mixed resolver answer is treated; MixedAnswers.Reject by default.
The settings as a whole value; the default is TransportSettings.UntrustedDefaults.
Functions
Changes settings with a block that starts from its current value; the order matters, as in Trusted.Builder.settings.