ProtocolVersion.ForVersion(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.