IClientConnectionOperatorExtensions.UpdateSecureConnectionAsync Method
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.
Runs UpdateSecureConnection(IOperatedClientConnection, HttpHost, IHttpContext, IHttpParams) on a thread pool thread to add a secure protocol layer to the connection.
public static System.Threading.Tasks.Task UpdateSecureConnectionAsync(this Org.Apache.Http.Conn.IClientConnectionOperator self, Org.Apache.Http.Conn.IOperatedClientConnection? conn, Org.Apache.Http.HttpHost? target, Org.Apache.Http.Protocol.IHttpContext? context, Org.Apache.Http.Params.IHttpParams? params);
static member UpdateSecureConnectionAsync : Org.Apache.Http.Conn.IClientConnectionOperator * Org.Apache.Http.Conn.IOperatedClientConnection * Org.Apache.Http.HttpHost * Org.Apache.Http.Protocol.IHttpContext * Org.Apache.Http.Params.IHttpParams -> System.Threading.Tasks.Task
Parameters
The operator that updates the connection.
The open connection to update.
- target
- HttpHost
The target host for the updated connection. The connection must already be open or tunnelled to this host and port. The target scheme selects the layered connection.
- context
- IHttpContext
The context for the connection.
- params
- IHttpParams
The HTTP parameters for the updated connection.
Returns
A task that completes when the synchronous connection method completes. If that method throws an exception, the task is faulted with that exception.
Remarks
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.