DefaultConnectionReuseStrategy.KeepAlive(IHttpResponse, IHttpContext) 方法

定义

[Android.Runtime.Register("keepAlive", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Z", "GetKeepAlive_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")]
public virtual bool KeepAlive (Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("keepAlive", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Z", "GetKeepAlive_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member KeepAlive : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> bool
override this.KeepAlive : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> bool

参数

response
IHttpResponse
context
IHttpContext

返回

实现

属性

注解

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

适用于