ClientParamBean.SetDefaultHost(HttpHost) Method

Definition

Sets the default host used when the target host is not specified in the request URI.

[Android.Runtime.Register("setDefaultHost", "(Lorg/apache/http/HttpHost;)V", "GetSetDefaultHost_Lorg_apache_http_HttpHost_Handler")]
public virtual void SetDefaultHost(Org.Apache.Http.HttpHost? host);
[<Android.Runtime.Register("setDefaultHost", "(Lorg/apache/http/HttpHost;)V", "GetSetDefaultHost_Lorg_apache_http_HttpHost_Handler")>]
abstract member SetDefaultHost : Org.Apache.Http.HttpHost -> unit
override this.SetDefaultHost : Org.Apache.Http.HttpHost -> unit

Parameters

host
HttpHost

The host to use when the target host is not specified in the request URI.

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