Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPServer.OnCommandGet
Represents the event handler for HTTP server GET, POST, and HEAD commands.

property OnCommandGet: TIdHTTPGetEvent;
Description
OnCommandGet is the TIdHTTPGetEvent event handler used to respond to events generated for the HTTP server GET, POST, and HEAD commands.

The application must assign a procedure to the OnCommandGet event handler to allow the server to respond to the HTTP commands.

OnCommandGet can be used to manipulate properties and methods of the RequestInfo and ResponseInfo parameters prior to allowing the server to send the response to the HTTP client.