Class ExternalProxy
An upstream proxy this proxy uses if any.
Implements
Inherited Members
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
public class ExternalProxy : IExternalProxy
Constructors
| Improve this Doc View SourceExternalProxy()
Initializes a new instance of the ExternalProxy class.
Declaration
public ExternalProxy()
ExternalProxy(String, Int32)
Initializes a new instance of the ExternalProxy class.
Declaration
public ExternalProxy(string hostName, int port)
Parameters
Type | Name | Description |
---|---|---|
String | hostName | Name of the host. |
Int32 | port | The port. |
ExternalProxy(String, Int32, String, String)
Initializes a new instance of the ExternalProxy class.
Declaration
public ExternalProxy(string hostName, int port, string userName, string password)
Parameters
Type | Name | Description |
---|---|---|
String | hostName | Name of the host. |
Int32 | port | The port. |
String | userName | Name of the user. |
String | password | The password. |
Properties
| Improve this Doc View SourceBypassLocalhost
Bypass this proxy for connections to localhost?
Declaration
public bool BypassLocalhost { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HostName
Host name.
Declaration
public string HostName { get; set; }
Property Value
Type | Description |
---|---|
String |
Password
Password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
String |
Port
Port.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ProxyDnsRequests
Declaration
public bool ProxyDnsRequests { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
ProxyType
Declaration
public ExternalProxyType ProxyType { get; set; }
Property Value
Type | Description |
---|---|
ExternalProxyType |
UseDefaultCredentials
Use default windows credentials?
Declaration
public bool UseDefaultCredentials { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UserName
Username.
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceToString()
returns data in Hostname:port format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |