Internet Direct (Indy) Version 9.0.1 Beta
TIdHTTPGetEvent
Specifies an event type for HTTP transfer commands.

TIdHTTPGetEvent = procedure (AThread: TIdPeerThread; RequestInfo: TIdHTTPRequestInfo; ResponseInfo: TIdHTTPResponseInfo) of object;
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.

RequestInfo represents the header values to be used for a GET, HEAD or POST command as they are captured from the HTTP client.

ResponseInfo represents the header values to be returned to the HTTP client.

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