Partager via


HttpConnectionParams.InterfaceConsts.StaleConnectionCheck Field

Definition

Determines whether stale connection check is to be used.

[Android.Runtime.Register("STALE_CONNECTION_CHECK")]
public const string StaleConnectionCheck;
[<Android.Runtime.Register("STALE_CONNECTION_CHECK")>]
val mutable StaleConnectionCheck : string

Field Value

Attributes

Remarks

Determines 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.

This parameter expects a value of type Boolean.

Java documentation for org.apache.http.params.CoreConnectionPNames.STALE_CONNECTION_CHECK.

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