Share via


IClientConnectionOperator.UpdateSecureConnection Method

Definition

Updates a connection with a layered secure connection.

[Android.Runtime.Register("updateSecureConnection", "(Lorg/apache/http/conn/OperatedClientConnection;Lorg/apache/http/HttpHost;Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/params/HttpParams;)V", "GetUpdateSecureConnection_Lorg_apache_http_conn_OperatedClientConnection_Lorg_apache_http_HttpHost_Lorg_apache_http_protocol_HttpContext_Lorg_apache_http_params_HttpParams_Handler:Org.Apache.Http.Conn.IClientConnectionOperatorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateSecureConnection (Org.Apache.Http.Conn.IOperatedClientConnection? conn, Org.Apache.Http.HttpHost? target, Org.Apache.Http.Protocol.IHttpContext? context, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("updateSecureConnection", "(Lorg/apache/http/conn/OperatedClientConnection;Lorg/apache/http/HttpHost;Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/params/HttpParams;)V", "GetUpdateSecureConnection_Lorg_apache_http_conn_OperatedClientConnection_Lorg_apache_http_HttpHost_Lorg_apache_http_protocol_HttpContext_Lorg_apache_http_params_HttpParams_Handler:Org.Apache.Http.Conn.IClientConnectionOperatorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateSecureConnection : Org.Apache.Http.Conn.IOperatedClientConnection * Org.Apache.Http.HttpHost * Org.Apache.Http.Protocol.IHttpContext * Org.Apache.Http.Params.IHttpParams -> unit

Parameters

conn
IOperatedClientConnection

the open connection to update

target
HttpHost

the target host for the updated connection. The connection must already be open or tunnelled to the host and port, but the scheme of the target will be used to create a layered connection.

context
IHttpContext

the context for the connection

params
IHttpParams

the parameters for the updated connection

Attributes

Exceptions

in case of a problem

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.

Applies to