TransportSettings
Derives a TransportSettings: starts from from, applies configure, validates.
Stable Core. TransportSettings(TransportSettings.UntrustedDefaults) { callTimeout = 20.seconds } is the Untrusted defaults with a longer call timeout. from is never modified.
Return
the new, validated settings.
Parameters
the value to start from, usually TransportSettings.TrustedDefaults or TransportSettings.UntrustedDefaults.
assigns the settings to change.
Throws
if a setting breaks its rule: a timeout under 1 millisecond or over Int.MAX_VALUE milliseconds; TransportSettings.maxResponseBytes under 1; a negative TransportSettings.maxRedirects; TransportSettings.maxConcurrentRequests under 1; TransportSettings.maxConcurrentRequestsPerHost under 1 or over TransportSettings.maxConcurrentRequests. The message names the property and never a value.