Functions
Link copied to clipboard
fun trusted(configure: OutboundUrlPolicy.Trusted.Builder.() -> Unit = {}): OutboundUrlPolicy.Trusted
Builds a Trusted policy from the defaults (no pins, https only, TransportSettings.TrustedDefaults) and configure.
fun trusted(from: OutboundUrlPolicy.Trusted, configure: OutboundUrlPolicy.Trusted.Builder.() -> Unit): OutboundUrlPolicy.Trusted
Link copied to clipboard
fun untrusted(configure: OutboundUrlPolicy.Untrusted.Builder.() -> Unit = {}): OutboundUrlPolicy.Untrusted
Builds an Untrusted policy from the defaults (ports 80, 443, 8080, 8443; no extra ranges or suffixes; MixedAnswers.Reject; TransportSettings.UntrustedDefaults) and configure.
fun untrusted(from: OutboundUrlPolicy.Untrusted, configure: OutboundUrlPolicy.Untrusted.Builder.() -> Unit): OutboundUrlPolicy.Untrusted