Language

IHttpMessageParser.Parse Method

Definition

Parses an HTTP message from the associated session input buffer.

[Android.Runtime.Register("parse", "()Lorg/apache/http/HttpMessage;", "GetParseHandler:Org.Apache.Http.IO.IHttpMessageParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IHttpMessage? Parse();
[<Android.Runtime.Register("parse", "()Lorg/apache/http/HttpMessage;", "GetParseHandler:Org.Apache.Http.IO.IHttpMessageParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Parse : unit -> Org.Apache.Http.IHttpMessage

Returns

The parsed HTTP message, including its start line and headers.

Attributes

Exceptions

An input error occurs, or a configured input limit is exceeded.

The message start line or headers cannot be parsed as a valid HTTP message.

Remarks

This operation reads the message start line and headers, not the message body.

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