Udostępnij za pośrednictwem


ILineParser.ParseProtocolVersion(CharArrayBuffer, ParserCursor) Method

Definition

Parses the textual representation of a protocol version.

[Android.Runtime.Register("parseProtocolVersion", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/ProtocolVersion;", "GetParseProtocolVersion_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler:Org.Apache.Http.Message.ILineParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.ProtocolVersion? ParseProtocolVersion (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.Message.ParserCursor? cursor);
[<Android.Runtime.Register("parseProtocolVersion", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/ProtocolVersion;", "GetParseProtocolVersion_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler:Org.Apache.Http.Message.ILineParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ParseProtocolVersion : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> Org.Apache.Http.ProtocolVersion

Parameters

buffer
CharArrayBuffer

a buffer holding the protocol version to parse

cursor
ParserCursor

the parser cursor containing the current position and the bounds within the buffer for the parsing operation

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