Org.Apache.Http.IHttpConnection.IsStale Property
Checks whether this connection has gone down.

Syntax

[get: Android.Runtime.Register("isStale", "()Z", "GetIsStaleHandler:Org.Apache.Http.IHttpConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsStale { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Checks whether this connection has gone down. Network connections may get closed during some time of inactivity for several reasons. The next time a read is attempted on such a connection it will throw an IOException. This method tries to alleviate this inconvenience by trying to find out if a connection is still usable. Implementations may do that by attempting a read with a very small timeout. Thus this method may block for a small amount of time before returning a result. It is therefore an expensive operation.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1