Indy 9
|
TIdHTTPOnRedirectEvent = procedure (Sender: TObject; var dest: string; var NumRedirect: Integer; var Handled: boolean; var VMethod: TIdHTTPMethod) of object;
Sender is the HTTP client that has received the redirection request.
Dest is the new location or URL for the resource. Dest is often used to update a GUI application with the current URL.
NumRedirects is a variable used to accumulate the number of redirection requests that the HTTP client has received.
Handled indicates that the event handler should respond to the redirection request. Set Handled to False if the application is unable to respond to the redirection request.