Language

HttpProtocolParams.GetVersion(IHttpParams) Method

Definition

Returns ProtocolVersion to be used per default.

[Android.Runtime.Register("getVersion", "(Lorg/apache/http/params/HttpParams;)Lorg/apache/http/ProtocolVersion;", "")]
public static Org.Apache.Http.ProtocolVersion? GetVersion(Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("getVersion", "(Lorg/apache/http/params/HttpParams;)Lorg/apache/http/ProtocolVersion;", "")>]
static member GetVersion : Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.ProtocolVersion

Parameters

params
IHttpParams

The parameter collection to read. Must not be null.

Returns

The configured protocol version, or HTTP/1.1 if no value is set.

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