SetProxyServer procedure

Top  Previous  Next

EurekaLog includes a procedure called SetProxyServer, that enables you to set a custom Proxy server. By default EurekaLog use the System Internet Settings to get the Proxy configuration but using this procedure you can force the use of custom Proxy settigns.

 

Syntax of this function is as follows:

 

procedure SetProxyServer(const Server: string; Port: Word);

 

 

Example:

 

 

uses EWebTools; // The required unit...

 

begin

   ...

   SetProxyServer('www.my-proxy.com'8080);

   ...

end;