HttpConnectionParams.SetStaleCheckingEnabled(IHttpParams, Boolean) 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.
Defines whether stale connection check is to be used.
[Android.Runtime.Register("setStaleCheckingEnabled", "(Lorg/apache/http/params/HttpParams;Z)V", "")]
public static void SetStaleCheckingEnabled (Org.Apache.Http.Params.IHttpParams? params, bool value);
[<Android.Runtime.Register("setStaleCheckingEnabled", "(Lorg/apache/http/params/HttpParams;Z)V", "")>]
static member SetStaleCheckingEnabled : Org.Apache.Http.Params.IHttpParams * bool -> unit
Parameters
- params
- IHttpParams
- value
- Boolean
true
if stale connection check is to be used,
false
otherwise.
- Attributes
Remarks
Defines 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.