Indy 9 | Content | Index | Reference

TIdHTTPConnectionType
Unit: IdHTTP
Indicxates the host and transport used for a HTTP connection.

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

Unit
IdHTTP
Description
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:

- 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 TIdHTTP.URL.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.