IClientConnectionOperatorExtensions Class
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 class is obsoleted in this android platform
Provides task-based extension methods for IClientConnectionOperator.
[System.Obsolete("This class is obsoleted in this android platform")]
public static class IClientConnectionOperatorExtensions
[<System.Obsolete("This class is obsoleted in this android platform")>]
type IClientConnectionOperatorExtensions = class
- Inheritance
-
IClientConnectionOperatorExtensions
- Attributes
Remarks
These methods use Run(Action) to run the synchronous connection methods on a thread pool thread. They do not use native asynchronous I/O or accept a cancellation token.
See the Java.Interop async extension generator.
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.
Methods
| Name | Description |
|---|---|
| OpenConnectionAsync(IClientConnectionOperator, IOperatedClientConnection, HttpHost, InetAddress, IHttpContext, IHttpParams) |
Runs OpenConnection(IOperatedClientConnection, HttpHost, InetAddress, IHttpContext, IHttpParams) on a thread pool thread to open a connection to the target host. |
| UpdateSecureConnectionAsync(IClientConnectionOperator, IOperatedClientConnection, HttpHost, IHttpContext, IHttpParams) |
Runs UpdateSecureConnection(IOperatedClientConnection, HttpHost, IHttpContext, IHttpParams) on a thread pool thread to add a secure protocol layer to the connection. |