TFPHTTPClient.OnRedirect¶
Event called when a redirect is encountered
Declaration¶
Source position: fphttpclient.pp line 500
published property OnRedirect;
Description¶
Event triggered when an HTTP redirect response is received. The event handler can modify the destination URL or prevent the redirect.
See also¶
| Name | Description |
|---|---|
| TRedirectEvent | Event type for handling HTTP redirects |
| AllowRedirect | Whether to automatically follow HTTP redirects |