Features | Detailed Description
Available in .NET and VCL editions.
Http is used to open an HTTP tunnel using the CONNECT method and return a new proxied connection as described in the RFC 7231 document.
The HTTP Proxy component provides a simple way for developing customized web client applications with the HTTP proxy support. You can use this component together with any TCP protocol, such as FTP, SFTP, SMTP, or IMAP. All Clever Internet Suite client components support the HttpProxy component. Each client provides the Proxy property, that can be used to specify an instance of the HttpProxy component.
Please see the Demos code (SmtpClientProxy) and also the indexed Help documentation provided with the Clever Internet Suite installation for more details about using this component.
The most common members of the HTTP Proxy component can be seen below:
Name |
Description |
Active |
Provides information about the activity status of the connection. |
AuthorizationType |
Specifies, whether the component should automatically determine the Proxy authorization method. |
MaxAuthRetries |
Specifies a maximum number of authentication requests allowed for the client connection. |
Password |
Specifies a password that allows the component to log on to a proxy. |
Port |
Specifies a port that allows the component to connect to a proxy server. |
RequestHeader |
Provides a request header to be sent to an HTTP proxy. |
RequestVersion |
Specifies an HTTP request version. |
ResponseHeader |
Provides an access to headers of an HTTP response. |
ResponseVersion |
Returns an HTTP version used and supported in the HTTP response. |
Server |
Specifies a proxy host that allows the component to connect to a proxy server. |
StatusCode |
Gets a response code received from an HTTP proxy. |
StatusText |
Gets a status line received from an HTTP proxy. |
UserAgent |
Specifies a name of the application or entity calling the Internet functions. |
UserName |
Specifies a user name that allows the component to log on to a proxy. |
Name |
Description |
Close |
Closes a previously opened server connection and terminates the current HTTP request. |
Connect |
Opens an HTTP tunnel using the CONNECT method and returns a new proxied connection. |
Name |
Description |
OnClose |
Occurs when the component disconnected from a proxy host. |
OnOpen |
Occurs when component connected to a proxy host. |
OnSendRequest |
Occurs when the HTTP client has sent a request. |
OnReceiveResponse |
Occurs when a server response is received. |
OnSendRequest |
Occurs when the component has sent a request. |
|