Language

IHttpEntityExtensions.WriteToAsync(IHttpEntity, Stream) Method

Definition

Runs the entity's stream-write operation on a thread-pool thread.

public static System.Threading.Tasks.Task WriteToAsync(this Org.Apache.Http.IHttpEntity self, System.IO.Stream? outstream);
static member WriteToAsync : Org.Apache.Http.IHttpEntity * System.IO.Stream -> System.Threading.Tasks.Task

Parameters

self
IHttpEntity

The HTTP entity whose content is written.

outstream
Stream

The destination stream for the entity's content bytes.

Returns

A task that completes when the entity's content has been written to outstream.

Remarks

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