Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPConnectionType Enumeration

Indicates the host and transport used for a HTTP connection.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.