IHttpMessageParserExtensions.ParseAsync(IHttpMessageParser) 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 blocking HTTP message parser on a thread-pool thread.
public static System.Threading.Tasks.Task<Org.Apache.Http.IHttpMessage?> ParseAsync(this Org.Apache.Http.IO.IHttpMessageParser self);
static member ParseAsync : Org.Apache.Http.IO.IHttpMessageParser -> System.Threading.Tasks.Task<Org.Apache.Http.IHttpMessage>
Parameters
- self
- IHttpMessageParser
The message parser on which to call Parse().
Returns
A task whose result is the HTTP message returned by Parse().
Remarks
The operation parses the message start line and headers, not the message body. Await the task to observe completion or an exception from the blocking method.
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.