Table of Contents

TTMSMCPHTTPServerResponse.Redirect Method

Answers with a redirect to another address.

API unit family: TMS.MCP.HTTPServer Declaring type: TTMSMCPHTTPServerResponse

Syntax

procedure Redirect(const AURL: string); virtual; abstract;

Remarks

Implemented by the platform's own server. It sets the status and the location header, so there is no need to set them as well.

Parameters

Name Description
AURL Address to send the client to.