Proxy Class
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)
Contains proxy settings for a socket connection.
Syntax
public class Proxy : ISocketFactory, IWebProxy
Inherited Members
Constructors
Name | Description |
---|---|
Proxy() | Initializes an empty instance of the Proxy class. |
Proxy(Proxy |
Initializes a new instance of the Proxy class. |
Properties
Name | Description |
---|---|
Authentication |
Gets or sets the authentication method to use for HTTP CONNECT proxy. NTLM authentication is only supported by some HTTP CONNECT proxies. |
Bypass |
Gets a list of addresses that do not use the proxy server. |
Bypass |
Gets or sets an array of addresses that do not use the proxy server. |
Bypass |
Gets or sets a value indicating whether to bypass the proxy server for local addresses. |
Credentials | Gets or sets the credentials to submit to the proxy server for authentication. Password authentication is not supported by SOCKS4 and SOCKS4a. |
Domain | Gets or sets the domain to submit to the proxy server for authentication. |
Encoding | Gets or sets the Encoding to use to encode and decode requests and responses. |
Host | Gets or sets the hostname of the proxy server. |
Http |
Gets or sets user agent to use for HTTP connect proxy. |
Local |
Gets or sets the local TCP port range to which to bind the connections. |
Log |
Gets or sets the log writer used by this object. |
Password | Gets or sets the password to submit to the proxy server for authentication. Password authentication is not supported by SOCKS4 and SOCKS4a. |
Port | Gets or sets the port of the proxy server. |
Proxy |
Gets or sets the type of the proxy server. |
Receive |
Gets or sets local TCP socket receive buffer size. |
Send |
Gets or sets local TCP socket send buffer size. |
Send |
Specifies how long (in milliseconds) to continue try sending data before giving up on slow networks. Setting it to 0 or -1 means that the same value as Timeout property will be used. |
User |
Gets or sets the username to submit to the proxy server for authentication. |
Methods
Name | Description |
---|---|
Clone() | Creates a copy of the Proxy instance. |
Create |
Creates the true type of the clone. |
Get |
Returns the proxied URI for a destination. |
Get |
Gets the proxy address. |
Get |
Gets the proxy address. |
Is |
Indicates whether to use the proxy server for the specified host. |
Is |
Indicates whether to use the proxy server for the specified host. |
To |
Returns a string representation of this proxy. |
Explicit Interface Implementations
Name | Description |
---|---|
ISocket |
Creates an instance of proxy socket. |