autoupgrader Proxy structure
Sub-properties
Return to Introduction  Previous page  Next page
Applies to
acAutoUpgrader, acHTTP and acWebImage components.  

Declaration
type  
  TacHTTPAccessType = (atPreconfig, atDirect, atUseProxy);  
  TacHTTPProxy = class  
  published  
    property AccessTypeTacHTTPAccessType// atPreconfig by default  
    property ProxyServerString;  
    property ProxyPort: Integer;    // 8080 by default  
    property ProxyBypass: TStrings; // 127.0.0.1 by default  
    property ProxyUsernameString;  
    property ProxyPasswordString;  
  end;  
 
property Proxy: TacHTTPProxy;  

Description
The Proxy structure controls the connection type for the AutoUpgrader component and settings for estabilishing connection via proxy. Connection type (AccessType) can be "pre-configured" (AutoUpgrader will use settings from Control Panel), direct, or via specified proxy server.  
 
If proxy requires authentication — write OnProxyAutenticationRequest event handler to prompt and specify user's login information.  

See also
OnProxyAuthenticationRequest event.