http Proxy structure
Sub-properties
Return to Introduction  Previous page  Next page
Applies to
WinHTTP component.  

Declaration
type  
  TWinHTTPProxy = class  
  published  
    property AccessTypeTWinHTTPAccessType;  
    property ProxyServerString;  
    property ProxyPort: Integer;  
    property ProxyBypass: TStrings;  
  end;  

Description
The Proxy structure controls the connection type for the WinHTTP component and settings for estabilishing connection via proxy. Connection type (AccessType) can be "pre-configured" (WinHTTP 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.