Topic Path: Symbol Reference > Structs, Records, Enums > TIdHTTPConnectionType Enumeration
ContentsIndexHome
PreviousUpNext
TIdHTTPConnectionType Enumeration

Indicates the host and transport used for a HTTP connection.

File
TIdHTTPConnectionType = (
  ctNormal,
  ctSSL,
  ctProxy,
  ctSSLProxy
);

TIdHTTPConnectionType is an enumerated type that represents the underlying mechanisms used when creating an HTTP connection. 

TIdHTTPConnectionType can contain one of the following values and associated meanings: 

 

Value 
Meaning 
ctNormal 
Connection uses normal host and transport. 
ctSSL 
Connection uses Secure Socket Layer transport to the host. 
ctProxy 
Connection uses a proxy host for connections. 
ctSSLProxy 
Connection uses Secure Socket Layer transport to a proxy host. 

 

TIdHTTPConnectionType is determined when TIdHTTP attempts to open a connection to a host during processing of the HTTP request. The TIdHTTPConnectionType in use is determined based on values in TIdHTTP.ProxyParams and TIdCustomHTTP.URL.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.