Proxy Constructor
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
Proxy()
Initializes an empty instance of the Proxy class.
Declaration
public Proxy()
Remarks
The default constructor initializes an empty instance of the Proxy class with the ProxyType property set to ProxyType.None.
Proxy(ProxyType, String, Int32)
Initializes a new instance of the Proxy class.
Declaration
public Proxy(ProxyType proxyType, string host, int port)
Parameters
Type | Name | Description |
---|---|---|
ProxyType | proxyType | The type of the proxy. |
String | host | The hostname of the proxy server. |
Int32 | port | The port of the proxy server. |