Język

AbstractClientConnAdapter.LayerProtocol(IHttpContext, IHttpParams) Method

Definition

Adds a protocol layer, typically TLS/SSL, over an established tunnel. This does not by itself guarantee that the connection is considered secure.

[Android.Runtime.Register("layerProtocol", "(Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/params/HttpParams;)V", "GetLayerProtocol_Lorg_apache_http_protocol_HttpContext_Lorg_apache_http_params_HttpParams_Handler")]
public abstract void LayerProtocol(Org.Apache.Http.Protocol.IHttpContext? context, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("layerProtocol", "(Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/params/HttpParams;)V", "GetLayerProtocol_Lorg_apache_http_protocol_HttpContext_Lorg_apache_http_params_HttpParams_Handler")>]
abstract member LayerProtocol : Org.Apache.Http.Protocol.IHttpContext * Org.Apache.Http.Params.IHttpParams -> unit

Parameters

context
IHttpContext

The context for adding the protocol layer.

params
IHttpParams

The parameters for adding the protocol layer.

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