BasicLineParser.HasProtocolVersion(CharArrayBuffer, ParserCursor) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查行中是否存在协议版本。
[Android.Runtime.Register("hasProtocolVersion", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Z", "GetHasProtocolVersion_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler")]
public virtual bool HasProtocolVersion(Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.Message.ParserCursor? cursor);
[<Android.Runtime.Register("hasProtocolVersion", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Z", "GetHasProtocolVersion_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler")>]
abstract member HasProtocolVersion : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> bool
override this.HasProtocolVersion : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> bool
参数
- buffer
- CharArrayBuffer
保存要检查的行的缓冲区
- cursor
- ParserCursor
要检查协议版本的游标,或“行尾”的负值。 检查是否允许协议版本依赖之前或之后的空格。
返回
实现
- 属性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。