Topic Path: Symbol Reference > Classes > TIdCustomHTTP Class
TIdCustomHTTP Class

Specifies an HTTP client implementation.

TIdCustomHTTP = class(TIdTCPClientCustom);

TIdCustomHTTP is a TIdTCPClientCustom descendant that specifies 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]  

TIdCustomHTTP 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 and/or improper HTTP server support for the HTTP 1.1 specification. 

TIdCustomHTTP 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  

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

During initialization of the component, resource are allocated for the following properties: 



During initialization of the component, the default values are assigned for the following properties: 



Application do not normally create instances of TIdCustomHTTP. Use TIdHTTP which publishes propeties and event handlers used in client applications.

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