Site Map Contact Us Home
E-mail Newsletter
Subscribe to get informed about
Clever Components news.

Your Name:
Your Email:
Previous Newsletters

Products Articles Downloads Order Support
Customer Portal      

HTTP Proxy

Features | Detailed Description

The HTTP Proxy is a component from the Clever Internet Suite library.

The component opens an HTTP tunnel using the CONNECT method and returns a new proxied connection. You can use it together with any TCP protocol, such as FTP, SMTP, and 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. The component's interface allows you to create a proxy chain, and communicate via two, or more proxy servers.

Available in .NET and VCL editions.


  • All TCP-based protocols support;
  • HTTP CONNECT tunnel;
  • Proxy authentication: basic, digest, NTLM, Kerberos;
  • Custom request headers;
  • Enhanced status codes;
  • Free one year upgrades and support.

Working with SMTP, POP3, and IMAP4

Using HTTP Proxy, you can easily connect any TCP-based client via HTTP tunnel.

   // [Delphi]
   imap := TclImap4.Create(nil);
   proxy := TclHttpProxy.Create(nil);   

   proxy.Server := 'proxy-host';
   proxy.Port := 8080;

   imap.Proxy := proxy;
   imap.Server := 'imap-host';
   imap.Port := 143;
   imap.UserName := 'user-name';
   imap.Password := 'sectet';


   // [C#]
   var imap = new Imap4();
   var proxy = new HttpProxy();

   proxy.Server := "proxy-host";
   proxy.Port := 8080;

   imap.Proxy := proxy;
   imap.Server := "imap-host";
   imap.Port := 143;
   imap.UserName := "user-name";   
   imap.Password := "sectet";


HTTP Header management

The HTTP Client component gives you complete control over the headers being sent. You can easily define any HTTP request headers for submission to proxy or retrieve headers from an HTTP response.

Connect via two, or more proxy servers

The HTTP Proxy component allows you to make a proxy chain, and connect via two, or more proxy servers:

   // [Delphi]
   sftp := TclSFtp.Create(nil);
   proxy1 := TclHttpProxy.Create(nil);   
   proxy2 := TclHttpProxy.Create(nil);

   proxy1.Server := 'proxy-host-1';
   proxy1.Port := 8080;

   proxy2.Server := 'proxy-host-2';
   proxy2.Port := 8888;
   proxy2.UserName := 'proxy-user';   
   proxy2.Password := 'secret';

   proxy1.Proxy := proxy2;

   sftp.Proxy := proxy1;

   sftp.Server := 'sftp-host';
   sftp.Port := 22;
   sftp.UserName := 'user-name';
   sftp.Password := 'passw';


   // [C#]
   var sftp = new SFtp();
   var proxy1 = new HttpProxy();
   var proxy2 = new HttpProxy();

   proxy1.Server := "proxy-host-1";   
   proxy1.Port := 8080;

   proxy2.Server := "proxy-host-2";
   proxy2.Port := 8888;
   proxy2.UserName := "proxy-user";   
   proxy2.Password := "secret";

   proxy1.Proxy := proxy2;

   sftp.Proxy := proxy1;

   sftp.Server := "sftp-host";
   sftp.Port := 22;
   sftp.UserName := "user-name";
   sftp.Password := "passw";


Samples, including WinForm clients with full source code

Please see the Demos code (SmtpClientProxy) and also the indexed Help documentation provided with the Clever Internet Suite installation to learn more about using this component in your application.

Includes support for Delphi, C++Builder, C#, and VB.NET.

Complete Delphi and C# source code

When Purchasing the Clever Internet Suite you receive the full sources for all suite components and also free unlimited support.



    Copyright © 2000-2021