共用方式為


AbstractHttpClient.SetKeepAliveStrategy(IConnectionKeepAliveStrategy) Method

Definition

[Android.Runtime.Register("setKeepAliveStrategy", "(Lorg/apache/http/conn/ConnectionKeepAliveStrategy;)V", "GetSetKeepAliveStrategy_Lorg_apache_http_conn_ConnectionKeepAliveStrategy_Handler")]
public virtual void SetKeepAliveStrategy (Org.Apache.Http.Conn.IConnectionKeepAliveStrategy? keepAliveStrategy);
[<Android.Runtime.Register("setKeepAliveStrategy", "(Lorg/apache/http/conn/ConnectionKeepAliveStrategy;)V", "GetSetKeepAliveStrategy_Lorg_apache_http_conn_ConnectionKeepAliveStrategy_Handler")>]
abstract member SetKeepAliveStrategy : Org.Apache.Http.Conn.IConnectionKeepAliveStrategy -> unit
override this.SetKeepAliveStrategy : Org.Apache.Http.Conn.IConnectionKeepAliveStrategy -> unit

Parameters

keepAliveStrategy
IConnectionKeepAliveStrategy
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