AbstractPoolEntry.LayerProtocol(IHttpContext, IHttpParams) 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.
Uses the connection operator to add a protocol layer over an established tunnel, then updates the route tracker. The connection must be tunnelled and must not already have a protocol layer.
[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 virtual 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
override this.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 non-null parameters for adding the protocol layer.
- 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.