Daraja HTTP Framework 3.1.1-SNAPSHOT
HTTP server framework for Object Pascal
Loading...
Searching...
No Matches
TdjHTTPServer Class Reference

HTTP Server. More...

Inheritance diagram for TdjHTTPServer:

Public Member Functions

 TdjHTTPServer ()
 Create a HTTP Server.
 MyOnException (TIdContext AContext, Exception AException)
 MyOnListenException (TIdListenerThread AThread, Exception AException)
 MySessionEnd (TIdHTTPSession Sender)
 MySessionStart (TIdHTTPSession Sender)

Public Attributes

 OnCommandGet
 Handler for HTTP requests.

Protected Member Functions

 DoMaxConnectionsExceeded (TIdIOHandler AIOHandler)
 If the server has a connection limit (MaxConnections) set, and a new request exceeds this limit, log as a warning message.

Detailed Description

HTTP Server.

Inherits from Indy HTTP Server.

Constructor & Destructor Documentation

◆ TdjHTTPServer()

TdjHTTPServer::TdjHTTPServer ( )

Create a HTTP Server.

References TdjHTTPServer().

Referenced by TdjHTTPServer().

Member Function Documentation

◆ DoMaxConnectionsExceeded()

TdjHTTPServer::DoMaxConnectionsExceeded ( TIdIOHandler AIOHandler)
protected

If the server has a connection limit (MaxConnections) set, and a new request exceeds this limit, log as a warning message.

◆ MyOnException()

TdjHTTPServer::MyOnException ( TIdContext AContext,
Exception AException )

◆ MyOnListenException()

TdjHTTPServer::MyOnListenException ( TIdListenerThread AThread,
Exception AException )

◆ MySessionEnd()

TdjHTTPServer::MySessionEnd ( TIdHTTPSession Sender)

◆ MySessionStart()

TdjHTTPServer::MySessionStart ( TIdHTTPSession Sender)

Member Data Documentation

◆ OnCommandGet

TdjHTTPServer::OnCommandGet

Handler for HTTP requests.