Contents

allowsPersistentDNS

true if the request is allowed to store and use DNS answers, potentially beyond TTL expiry, in a persistent per-process cache, false otherwise. Defaults to false. This should only be set to true for hostnames whose resolutions are not expected to change across networks.

Declaration

var allowsPersistentDNS: Bool { get set }

See Also

Controlling request behavior