IHttpEntityExtensions.WriteToAsync(IHttpEntity, Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.