Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPServer Class

Implements an HTTP Server.

Pascal
TIdHTTPServer = class(TIdCustomHTTPServer);

TIdHTTPServer is a TIdCustomHTTPServer descendant that is a multi-threaded server implementation of the Hypertext Transfer Protocol (HTTP), as described in the Internet Standards documents: 

RFC 1945 - Hypertext Transfer Protocol -- HTTP/1.0  

RFC 2616 - Hypertext Transfer Protocol -- HTTP/1.1  

TIdHTTPServer publishes the inherited OnCreatePostStream and OnCommandGet event handlers for the HTTP server implementation. 

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

RFC 2660 - The Secure HyperText Transfer Protocol  

TIdHTTPServer does specify or implement any new functionality; it publishes properties specified in TIdCustomHTTPServer for the OnCreatePostStream and OnCommandGet event handlers. 

If the server needs to handle requests using the Secure Socket Layer (SSL) protocol, an instance of a TIdServerIOHandler descendant specific to the SSL transport must be assigned to the IOHandler for the server. 

Assign an instance of TIdServerInterceptOpenSSL to the IOHandler property to allow use of the HTTPS protocol using the OpenSSL library. For the Windows platform, you must install the Indy OpenSSL support .DLL's available at the Intelicom web site (http://www.intelicom.si/index.php?newlang=eng) to enable Secure Socket Layer support.

TIdCustomHTTPServer 

TIdServerIOHandler 

TIdServerInterceptOpenSSL 

IndySupport

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.