Event type for handling HTTP redirects
Source position: fphttpclient.pp line 38
type TRedirectEvent = procedure( |
Sender: TObject; |
const ASrc: string; |
var ADest: string |
) of object; |
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) |
Event type called when an HTTP redirect is encountered. The event handler can modify the destination URL or prevent the redirect.
|
Event called when a redirect is encountered |