IManagedClientConnection.LayerProtocol(IHttpContext, IHttpParams) 方法

定义

将新协议分层在连接之上 TunnelTarget(Boolean, IHttpParams)

[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:Org.Apache.Http.Conn.IManagedClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public 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:Org.Apache.Http.Conn.IManagedClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member LayerProtocol : Org.Apache.Http.Protocol.IHttpContext * Org.Apache.Http.Params.IHttpParams -> unit

参数

context
IHttpContext

此连接上分层的上下文

params
IHttpParams

此连接上分层的参数

属性

例外

出现问题时

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于