ProxyOptions.AllProxiesFailedBehaviorDisallowDirect Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Net.Http.AllProxiesFailedBehavior enum directly instead of this field.
Disallows direct traffic.
[Android.Runtime.Register("ALL_PROXIES_FAILED_BEHAVIOR_DISALLOW_DIRECT", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.AllProxiesFailedBehavior enum directly instead of this field.", true)]
public const Android.Net.Http.AllProxiesFailedBehavior AllProxiesFailedBehaviorDisallowDirect = 0;
[<Android.Runtime.Register("ALL_PROXIES_FAILED_BEHAVIOR_DISALLOW_DIRECT", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.AllProxiesFailedBehavior enum directly instead of this field.", true)>]
val mutable AllProxiesFailedBehaviorDisallowDirect : Android.Net.Http.AllProxiesFailedBehavior
Field Value
Value = 0- Attributes
Remarks
Disallows direct traffic.
This defines a fail-closed behavior: if all proxies in a ProxyOptions have failed, HttpEngine won't fall back onto non-proxied connections.
Android reference for android.net.http.ProxyOptions.ALL_PROXIES_FAILED_BEHAVIOR_DISALLOW_DIRECT.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.