HttpProxySettings

Overview

The HttpProxySettings class is used by the HttpClient class to store proxy server settings needed to establish connection with remote host.

The HttpProxySettings class doesn't contain any logic, except for the CopyProperties method.

Location

  • Reference:
    • RemObjects.InternetPack.dll  .NET, .NET Core 5.0, .NET Standard 2.0
    • RemObjects.InternetPack.fx  Island
    • libRemObjects.InternetPack.fx  Toffee
  • Namespace: RemObjects.InternetPack.Http


 

constructor

Creates a new instance of the HttpProxySettings class.

 

constructor

 

HttpProxySettings()

 

init()

 

Sub New()

CopyProperties  virtual

Copies property values of the source instance into the current HttpProxySettings instance.

 

method CopyProperties(source: HttpProxySettings)

 

void CopyProperties(HttpProxySettings source)

 

func CopyProperties(_ source: HttpProxySettings)

 

Sub CopyProperties(source As HttpProxySettings)

Parameters:

  • source: Source HttpProxySettings instance.

Password  virtual

Gets or sets the password needed to authenticate on the proxy server.

 

property Password: String read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(\"\")]
String Password { get; set; }
// Island
String Password { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(\"\")
var Password: String { get{} set{} }
// Island, Toffee
var Password: String { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(\"\")>
Property Password() As String
// Island
Property Password() As String

ProxyHost  virtual

Gets or sets hostname of the Http proxy server.

The default value is "192.168.1.1".

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue('192.168.1.1')]
property ProxyHost: String read write;
// Island
property ProxyHost: String read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(\"192.168.1.1\")]
String ProxyHost { get; set; }
// Island
String ProxyHost { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(\"192.168.1.1\")
var ProxyHost: String { get{} set{} }
// Island, Toffee
var ProxyHost: String { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(\"192.168.1.1\")>
Property ProxyHost() As String
// Island
Property ProxyHost() As String

ProxyPort  virtual

Gets or sets port of the Http proxy server.

The default value is 3128.

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(3128)]
property ProxyPort: Int32 read write;
// Island
property ProxyPort: Int32 read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(3128)]
Int32 ProxyPort { get; set; }
// Island
Int32 ProxyPort { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(3128)
var ProxyPort: Int32 { get{} set{} }
// Island, Toffee
var ProxyPort: Int32 { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(3128)>
Property ProxyPort() As Int32
// Island
Property ProxyPort() As Int32

UseProxy  virtual

Gets or sets flag indicating whether connection should be established via proxy.

The default value is false.

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(false)]
property UseProxy: Boolean read write;
// Island
property UseProxy: Boolean read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(false)]
Boolean UseProxy { get; set; }
// Island
Boolean UseProxy { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(false)
var UseProxy: Boolean { get{} set{} }
// Island, Toffee
var UseProxy: Boolean { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(false)>
Property UseProxy() As Boolean
// Island
Property UseProxy() As Boolean

UserName  virtual

Gets or sets the username needed to authenticate on the proxy server.

 

property UserName: String read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(\"\")]
String UserName { get; set; }
// Island
String UserName { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(\"\")
var UserName: String { get{} set{} }
// Island, Toffee
var UserName: String { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(\"\")>
Property UserName() As String
// Island
Property UserName() As String

 

Password  virtual

Gets or sets the password needed to authenticate on the proxy server.

 

property Password: String read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(\"\")]
String Password { get; set; }
// Island
String Password { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(\"\")
var Password: String { get{} set{} }
// Island, Toffee
var Password: String { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(\"\")>
Property Password() As String
// Island
Property Password() As String

ProxyHost  virtual

Gets or sets hostname of the Http proxy server.

The default value is "192.168.1.1".

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue('192.168.1.1')]
property ProxyHost: String read write;
// Island
property ProxyHost: String read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(\"192.168.1.1\")]
String ProxyHost { get; set; }
// Island
String ProxyHost { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(\"192.168.1.1\")
var ProxyHost: String { get{} set{} }
// Island, Toffee
var ProxyHost: String { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(\"192.168.1.1\")>
Property ProxyHost() As String
// Island
Property ProxyHost() As String

ProxyPort  virtual

Gets or sets port of the Http proxy server.

The default value is 3128.

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(3128)]
property ProxyPort: Int32 read write;
// Island
property ProxyPort: Int32 read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(3128)]
Int32 ProxyPort { get; set; }
// Island
Int32 ProxyPort { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(3128)
var ProxyPort: Int32 { get{} set{} }
// Island, Toffee
var ProxyPort: Int32 { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(3128)>
Property ProxyPort() As Int32
// Island
Property ProxyPort() As Int32

UseProxy  virtual

Gets or sets flag indicating whether connection should be established via proxy.

The default value is false.

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(false)]
property UseProxy: Boolean read write;
// Island
property UseProxy: Boolean read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(false)]
Boolean UseProxy { get; set; }
// Island
Boolean UseProxy { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(false)
var UseProxy: Boolean { get{} set{} }
// Island, Toffee
var UseProxy: Boolean { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(false)>
Property UseProxy() As Boolean
// Island
Property UseProxy() As Boolean

UserName  virtual

Gets or sets the username needed to authenticate on the proxy server.

 

property UserName: String read write;

 

// .NET, .NET Core 5.0, .NET Standard 2.0
[DefaultValue(\"\")]
String UserName { get; set; }
// Island
String UserName { get; set; }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
@DefaultValue(\"\")
var UserName: String { get{} set{} }
// Island, Toffee
var UserName: String { get{} set{} }

 

// .NET, .NET Core 5.0, .NET Standard 2.0
<DefaultValue(\"\")>
Property UserName() As String
// Island
Property UserName() As String

 

constructor

Creates a new instance of the HttpProxySettings class.

 

constructor

 

HttpProxySettings()

 

init()

 

Sub New()

CopyProperties  virtual

Copies property values of the source instance into the current HttpProxySettings instance.

 

method CopyProperties(source: HttpProxySettings)

 

void CopyProperties(HttpProxySettings source)

 

func CopyProperties(_ source: HttpProxySettings)

 

Sub CopyProperties(source As HttpProxySettings)

Parameters:

  • source: Source HttpProxySettings instance.