Org.Apache.Http.ProtocolVersion.ForVersion Method
Obtains a specific version of this protocol.

Syntax

[Android.Runtime.Register("forVersion", "(II)Lorg/apache/http/ProtocolVersion;", "GetForVersion_IIHandler")]
public virtual ProtocolVersion ForVersion (int major, int minor)

Parameters

major
the major version
minor
the minor version

Returns

Documentation for this section has not yet been entered.

Remarks

Obtains a specific version of this protocol. This can be used by derived classes to instantiate themselves instead of the base class, and to define constants for commonly used versions.

The default implementation in this class returns this if the version matches, and creates a new Org.Apache.Http.ProtocolVersion otherwise.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1