Org.Apache.Http.Conn.EofSensorInputStream Class
A stream wrapper that triggers actions on EofSensorInputStream.close() and EOF.

See Also: EofSensorInputStream Members

Syntax

[Android.Runtime.Register("org/apache/http/conn/EofSensorInputStream", DoNotGenerateAcw=true)]
public class EofSensorInputStream : Java.IO.InputStream, IConnectionReleaseTrigger, IDisposable

Remarks

A stream wrapper that triggers actions on EofSensorInputStream.close() and EOF. Primarily used to auto-release an underlying Org.Apache.Http.Conn.IManagedClientConnection when the response body is consumed or no longer needed.

This class is based on AutoCloseInputStream in HttpClient 3.1, but has notable differences. It does not allow mark/reset, distinguishes different kinds of event, and does not always close the underlying stream on EOF. That decision is left to the Org.Apache.Http.Conn.IEofSensorWatcher.

See Also

[Android Documentation]

Requirements

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