Share via


HttpConnectionParams.GetLinger(IHttpParams) Method

Definition

Returns linger-on-close timeout.

[Android.Runtime.Register("getLinger", "(Lorg/apache/http/params/HttpParams;)I", "")]
public static int GetLinger (Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("getLinger", "(Lorg/apache/http/params/HttpParams;)I", "")>]
static member GetLinger : Org.Apache.Http.Params.IHttpParams -> int

Parameters

params
IHttpParams

Returns

the linger-on-close timeout

Attributes

Remarks

Returns linger-on-close timeout. Value 0 implies that the option is disabled. Value -1 implies that the JRE default is used.

Java documentation for org.apache.http.params.HttpConnectionParams.getLinger(org.apache.http.params.HttpParams).

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