Unit 'fpHTTPClient' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TRedirectEvent

Event type for handling HTTP redirects

Declaration

Source position: fphttpclient.pp line 38

type TRedirectEvent = procedure(

  Sender: TObject;

  const ASrc: string;

  var ADest: string

) of object;

Arguments

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

TFPHTTPClient.OnRedirect

  

Event called when a redirect is encountered


Documentation generated on: Jan 27 2026