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

Link copied to clipboard

The allowed ports: null for any port, otherwise a non-empty set of ports 1..65535. The default is 80, 443, 8080, 8443.

Link copied to clipboard

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.

Link copied to clipboard

Address blocks denied in addition to the built-in table; empty by default. See Untrusted.extraDeniedRanges.

Link copied to clipboard

How a mixed resolver answer is treated; MixedAnswers.Reject by default.

Link copied to clipboard

The settings as a whole value; the default is TransportSettings.UntrustedDefaults.

Functions

Link copied to clipboard

Changes settings with a block that starts from its current value; the order matters, as in Trusted.Builder.settings.