autoupgrader Proxy structure
Sub-properties
Return to Introduction  Previous page  Next page
Applies to
auAutoUpgrader and auHTTP components.  

Declaration
type  
  TauHTTPAccessType = (atPreconfig, atDirect, atUseProxy);  
  TauHTTPProxy = class  
  published  
    property AccessTypeTauHTTPAccessType// 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: TauHTTPProxy;  

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.