Indy 9 | Content | Index | Reference

TIdHTTPGetEvent
See Also, Unit: IdCustomHTTPServer
Specifies an event type for HTTP transfer commands.

    TIdHTTPGetEvent = procedure (AThread: TIdPeerThread; ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo) of object;

Unit
IdCustomHTTPServer
Parameters
ARequestInfo
Request header for the command.
AResponseInfo
Response headers for the command.
AThread
Thread of execution triggering the event.
Description
TIdHTTPGetEvent represents an event type used to signal receipt of a HTTP command that transmits HTTP resources. TIdHTTPGetEvent is used for HTTP GET, POST, and HEAD commands.

AThread is the thread of execution triggering the TIdHTTPGetEvent event. ARequestInfo represents the header values to be used for a GET, HEAD or POST command as they are captured from the HTTP client. AResponseInfo represents the header values to be returned to the HTTP client.

TIdHTTPServer provides the OnCommandGet event handler to respond to the TIdHTTPGetEvent notification.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.