Share via


ILineParser.ParseHeader(CharArrayBuffer) Method

Definition

Creates a header from a line.

[Android.Runtime.Register("parseHeader", "(Lorg/apache/http/util/CharArrayBuffer;)Lorg/apache/http/Header;", "GetParseHeader_Lorg_apache_http_util_CharArrayBuffer_Handler:Org.Apache.Http.Message.ILineParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IHeader? ParseHeader (Org.Apache.Http.Util.CharArrayBuffer? buffer);
[<Android.Runtime.Register("parseHeader", "(Lorg/apache/http/util/CharArrayBuffer;)Lorg/apache/http/Header;", "GetParseHeader_Lorg_apache_http_util_CharArrayBuffer_Handler:Org.Apache.Http.Message.ILineParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ParseHeader : Org.Apache.Http.Util.CharArrayBuffer -> Org.Apache.Http.IHeader

Parameters

buffer
CharArrayBuffer

a buffer holding the full header line. This buffer MUST NOT be re-used afterwards, since the returned object may reference the contents later.

Returns

Attributes

Exceptions

in case of a parse error

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