Org.Apache.Http.IO Namespace

Provides HTTP message parsers, message writers, session buffers, and transport metrics for blocking connections.

Classes

Name Description
IHttpMessageParserExtensions

Provides a task-based extension method for IHttpMessageParser.

IHttpMessageWriterExtensions

Provides a task-based extension method for IHttpMessageWriter.

ISessionInputBufferExtensions

Provides task-based extension methods for ISessionInputBuffer.

ISessionOutputBufferExtensions

Provides task-based extension methods for ISessionOutputBuffer.

Interfaces

Name Description
IHttpMessageParser

Generic message parser interface.

IHttpMessageWriter

Generic message writer interface.

IHttpTransportMetrics

Provides the byte count for an HTTP transport and an operation to reset that count.

ISessionInputBuffer

Session input buffer for blocking connections.

ISessionOutputBuffer

Session output buffer for blocking connections.

Remarks

The extension classes run the corresponding blocking methods as .NET tasks. They do not provide native asynchronous I/O or cancellation.

These APIs are obsolete on Android. For new code, use HttpURLConnection.

The interface contracts and buffer behavior are described in the Android HTTP I/O source and its implementations.