ProtocolVersion.CompareToVersion(ProtocolVersion) Method

Definition

Compares this protocol version with another one.

[Android.Runtime.Register("compareToVersion", "(Lorg/apache/http/ProtocolVersion;)I", "GetCompareToVersion_Lorg_apache_http_ProtocolVersion_Handler")]
public virtual int CompareToVersion (Org.Apache.Http.ProtocolVersion? that);
[<Android.Runtime.Register("compareToVersion", "(Lorg/apache/http/ProtocolVersion;)I", "GetCompareToVersion_Lorg_apache_http_ProtocolVersion_Handler")>]
abstract member CompareToVersion : Org.Apache.Http.ProtocolVersion -> int
override this.CompareToVersion : Org.Apache.Http.ProtocolVersion -> int

Parameters

that
ProtocolVersion

the protocl version to compare with

Returns

Attributes

Exceptions

if the argument has a different protocol name than this object, or if the argument is null

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