Sends a redirect response
Source position: httpdefs.pp line 612
public procedure TResponse.SendRedirect( |
const TargetURL: string |
); |
TargetURL |
|
Target URL for the redirect |
SendRedirect sends an HTTP redirect response to the client. This sets the appropriate status code and Location header to redirect the client to a new URL.