HttpConnectionParams.GetLinger(IHttpParams) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.