Share via


ProtocolVersion.ForVersion(Int32, Int32) Method

Definition

Obtains a specific version of this protocol.

[Android.Runtime.Register("forVersion", "(II)Lorg/apache/http/ProtocolVersion;", "GetForVersion_IIHandler")]
public virtual Org.Apache.Http.ProtocolVersion? ForVersion (int major, int minor);
[<Android.Runtime.Register("forVersion", "(II)Lorg/apache/http/ProtocolVersion;", "GetForVersion_IIHandler")>]
abstract member ForVersion : int * int -> Org.Apache.Http.ProtocolVersion
override this.ForVersion : int * int -> Org.Apache.Http.ProtocolVersion

Parameters

major
Int32

the major version

minor
Int32

the minor version

Returns

Attributes

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