TRedirectEvent procedure type
Event type for handling HTTP redirects
Declaration
TRedirectEvent = procedure(Sender: TObject; const ASrc: string;
var ADest: string) of objectArguments
Sender | The HTTP client object that triggered the event |
ASrc | The original URL that caused the redirect |
ADest | The destination URL for the redirect (can be modified) |
Description
Event type called when an HTTP redirect is encountered. The event handler can modify the destination URL or prevent the redirect.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
