Lingua

ProxyOptions.AllProxiesFailedBehaviorAllowDirect Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.Http.AllProxiesFailedBehavior enum directly instead of this field.

Allows direct, non-proxied, traffic.

[Android.Runtime.Register("ALL_PROXIES_FAILED_BEHAVIOR_ALLOW_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 AllProxiesFailedBehaviorAllowDirect = 1;
[<Android.Runtime.Register("ALL_PROXIES_FAILED_BEHAVIOR_ALLOW_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 AllProxiesFailedBehaviorAllowDirect : Android.Net.Http.AllProxiesFailedBehavior

Field Value

Value = 1
Attributes

Remarks

Allows direct, non-proxied, traffic.

This defines a fail-open behavior: if all proxies in a ProxyOptions have failed, HttpEngine will fall back onto non-proxied connections.

Android reference for android.net.http.ProxyOptions.ALL_PROXIES_FAILED_BEHAVIOR_ALLOW_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.

Applies to