次の方法で共有


DefaultConnectionKeepAliveStrategy.GetKeepAliveDuration Method

Definition

[Android.Runtime.Register("getKeepAliveDuration", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)J", "GetGetKeepAliveDuration_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")]
public virtual long GetKeepAliveDuration (Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("getKeepAliveDuration", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)J", "GetGetKeepAliveDuration_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member GetKeepAliveDuration : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> int64
override this.GetKeepAliveDuration : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> int64

Parameters

response
IHttpResponse
context
IHttpContext

Returns

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