Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTP Class

Implements an HTTP client.

Pascal
TIdHTTP = class(TIdCustomHTTP);

TIdHTTP is a TIdCustomHTTP descendant that is a client implementation of the Hypertext Transfer Protocol (HTTP) as described in the Internet Standards documents: 

RFC 1945 - Hypertext Transfer Protocol version 1.0 [HTTP/1.0]  

RFC 2616 - Hypertext Transfer Protocol version 1.1 [HTTP/1.1]  

TIdHTTP publishes properties and event handlers on the ancestor classes to allow access from the client application, and the VCL streaming mechanism. 

TIdHTTP provides support for both HTTP 1.0 and HTTP 1.1 protocols. Note: Post is restricted to support for the HTTP 1.0 protocol due to limited HTTP server support for the HTTP 1.1 specification. 

TIdHTTP also provides a CookieManager that implements an HTTP State Management mechanism as specified in the Internet Standards documents, and reference materials: 

RFC 2109 - HTTP State Management Mechanism  

RFC 2965 - HTTP State Management Mechanism  

Netscape Persistent Client State - HTTP Cookies  

TIdHTTP also supports the Secure Hypertext Transport protocol (HTTPS) as described in the Internet Standards document: 

RFC 2660 - The Secure HyperText Transfer Protocol  

You must install the Indy OpenSSL support .DLL's available at the Intelicom web site , or a third party SSL library to enable Secure Socket Layer support. 

Assign an instance of TIdSSLIOHandlerSocketBase (or a descendant class) to the IOHandler property to allow use of the HTTPS protocol in HTTP requests.

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.