HttpConnectionParams.IsStaleCheckingEnabled(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.
Tests whether stale connection check is to be used.
[Android.Runtime.Register("isStaleCheckingEnabled", "(Lorg/apache/http/params/HttpParams;)Z", "")]
public static bool IsStaleCheckingEnabled (Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("isStaleCheckingEnabled", "(Lorg/apache/http/params/HttpParams;)Z", "")>]
static member IsStaleCheckingEnabled : Org.Apache.Http.Params.IHttpParams -> bool
Parameters
- params
- IHttpParams
Returns
true
if stale connection check is to be used,
false
otherwise.
- Attributes
Remarks
Tests whether stale connection check is to be used. Disabling stale connection check may result in slight performance improvement at the risk of getting an I/O error when executing a request over a connection that has been closed at the server side.
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.