THttpServer

From Overbyte
Jump to navigation Jump to search

Main page -> ICS components reference -> THttpServer

Overview

  • unit HttpSrv.pas
  • inheritance THttpServer- TComponent

THttpServer component is implementing the server side HTTP protocol. HTTP protocol is the standard protocol for browsing the World Wide Web.

Properties

Addr Binds the server to a specific IP-address and only receives request for that IP+Port.
AuthDigestMethod Select the method to be used for digest authentication.
AuthDigestNonceLifeTimeMin Life time for digest nonce.
AuthRealm Name space for authentication.
AuthTypes Allowed authentications methods.
DefaultDoc Name of the default document.
DocDir Path name for the root directory where documents are stored.
IcsLogger Reference to the TIcsLgger component.
KeepAliveTimeSec Keep alive time expressed in seconds.
LingerOnOff How linger must be done. This affect the way sockets are closed.
LingerTimeout How long should the socket linger when closing.
ListenBackog How many connections can be queued by the OS before refusing new connections.
MaxClients Maximum number of simultaneous client accepted. Use 0 if not limit desired.
MaxRequestsKeepAlive MaxRequestsKeepAlive.
Name Component name.
Options Affect how the component is operating.
Port TCP port number the component has to listen to.
Tag Tag.
TemplateDir Path where the component search for dynamic pages templates.

Methods

Start Starts the webserver so it lisen for incoming requests.

Events

OnGetDocument Processes requests for documents.

How to


ICS Components Reference