Lenguaje

ProxyOptions.AllProxiesFailedBehaviorAllowDirect Campo

Definición

Precaución

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

Permite el tráfico directo, no proxy.

[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

Valor de campo

Value = 1
Atributos

Comentarios

Permite el tráfico directo, no proxy.

Esto define un comportamiento de apertura por error: si se han producido errores en todos los servidores proxy de proxyOptions, HttpEngine se revertirá a conexiones no proxy.

Referencia de Android para android.net.http.ProxyOptions.ALL_PROXIES_FAILED_BEHAVIOR_ALLOW_DIRECT.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a