语言

HttpProtocolParamBean.SetVersion(HttpVersion) 方法

定义

将此 bean 的参数集合中存储请求 HTTP 版本。

[Android.Runtime.Register("setVersion", "(Lorg/apache/http/HttpVersion;)V", "GetSetVersion_Lorg_apache_http_HttpVersion_Handler")]
public virtual void SetVersion(Org.Apache.Http.HttpVersion? version);
[<Android.Runtime.Register("setVersion", "(Lorg/apache/http/HttpVersion;)V", "GetSetVersion_Lorg_apache_http_HttpVersion_Handler")>]
abstract member SetVersion : Org.Apache.Http.HttpVersion -> unit
override this.SetVersion : Org.Apache.Http.HttpVersion -> unit

参数

version
HttpVersion

要用于请求的 HTTP 版本。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于