AllProxiesFailedBehavior Enum
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.
Specifies the behavior when every configured proxy has failed.
public enum AllProxiesFailedBehavior
type AllProxiesFailedBehavior =
- Inheritance
-
AllProxiesFailedBehavior
Fields
| Name | Value | Description |
|---|---|---|
| DisallowDirect | 0 | 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 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. |
| AllowDirect | 1 | 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 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. |
Remarks
The value determines whether a direct connection is allowed after all proxies fail.