HttpProxy Class

HTTP proxy client.
Inheritance Hierarchy

Namespace:  Aspose.Email.Clients
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public class HttpProxy : Proxy, IWebProxy

The HttpProxy type exposes the following members.

Constructors
  NameDescription
Public methodHttpProxy(String, Int32)
Initializes a new instance of the HttpProxy class to connect to proxy server without authentication.
Public methodHttpProxy(String, Int32, String, String)
Initializes a new instance of the HttpProxy class to connect to proxy server with defined username and password.
Properties
  NameDescription
Public propertyAddress
The domain name or IP address of the proxy server
(Inherited from Proxy.)
Public propertyCredentials
The credentials to submit to the proxy server for authentication.
Public propertyPassword
Password for proxy authentication
(Inherited from Proxy.)
Public propertyPort
The port number for the proxy server
(Inherited from Proxy.)
Public propertySupportedAuthenticationMethods
The supported authentication methods to connect to HTTP proxy
Public propertyUsername
Username for proxy authentication
(Inherited from Proxy.)
Methods
  NameDescription
Public methodDispose
Disposes this instance and requests that the underlying TCP connection be closed.
(Inherited from Proxy.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetProxy
Returns the URI of a proxy.
Public methodGetStream
Returns configured network stream to transport data to the required host through the proxy server.
(Inherited from Proxy.)
Public methodGetType (Inherited from Object.)
Public methodIsBypassed
Indicates that the proxy should not be used for the specified host.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetUpStream
Configures proxy-server to transport data to the target host.
(Overrides ProxySetUpStream(Stream, String, Int32).)
Public methodToString (Inherited from Object.)
See Also