Język

DefaultClientConnectionOperator.UpdateSecureConnection Method

Definition

Creates and prepares a layered socket over an open connection, then updates the connection with that socket and the security status reported by its factory.

[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")]
public virtual 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")>]
abstract member UpdateSecureConnection : Org.Apache.Http.Conn.IOperatedClientConnection * Org.Apache.Http.HttpHost * Org.Apache.Http.Protocol.IHttpContext * Org.Apache.Http.Params.IHttpParams -> unit
override this.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 non-null, already open connection to update.

target
HttpHost

The non-null target whose scheme must provide a layered socket factory.

context
IHttpContext

The context for socket preparation.

params
IHttpParams

The non-null socket and connection parameters.

Implements

Attributes

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