Sdílet prostřednictvím


HttpHost Constructors

Definition

Overloads

HttpHost(HttpHost)

Copy constructor for HttpHost.

HttpHost(String)

Creates a new HttpHost, with default scheme and port.

HttpHost(String, Int32)

Creates a new HttpHost, with default scheme.

HttpHost(String, Int32, String)

Creates a new HttpHost, specifying all values.

HttpHost(HttpHost)

Copy constructor for HttpHost.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;)V", "")]
public HttpHost (Org.Apache.Http.HttpHost? httphost);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;)V", "")>]
new Org.Apache.Http.HttpHost : Org.Apache.Http.HttpHost -> Org.Apache.Http.HttpHost

Parameters

httphost
HttpHost
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

HttpHost(String)

Creates a new HttpHost, with default scheme and port.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public HttpHost (string? hostname);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.HttpHost : string -> Org.Apache.Http.HttpHost

Parameters

hostname
String
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

HttpHost(String, Int32)

Creates a new HttpHost, with default scheme.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public HttpHost (string? hostname, int port);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Org.Apache.Http.HttpHost : string * int -> Org.Apache.Http.HttpHost

Parameters

hostname
String
port
Int32
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

HttpHost(String, Int32, String)

Creates a new HttpHost, specifying all values.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")]
public HttpHost (string? hostname, int port, string? scheme);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")>]
new Org.Apache.Http.HttpHost : string * int * string -> Org.Apache.Http.HttpHost

Parameters

hostname
String
port
Int32
scheme
String
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