OnResponseReceivedAction 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.
public enum OnResponseReceivedAction
type OnResponseReceivedAction =
- Inheritance
-
OnResponseReceivedAction
Fields
| Name | Value | Description |
|---|---|---|
| Close | 0 | Closes the tunnel connection, preventing it from being used to send HTTP requests. When a tunnel connection is closed, HttpEngine will interpret it as a failure to use the associated Proxy. HttpEngine will then try the next Proxy in the list passed to ProxyOptions (refer to that class documentation for more info). 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. |
| Proceed | 1 | Proceeds establishing a tunnel. This does not guarantee that the tunnel will successfully be established and used to send HTTP requests: HttpEngine will perform additional checks prior to that. Depending on their outcome, HttpEngine might still decide to close the tunnel connection. If the tunnel connection ends up being closed by HttpEngine, it will be considered as a failure to use the associated Proxy. HttpEngine will then try the next Proxy in the list passed to ProxyOptions (refer to that class documentation for more info) 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. |