Table of Contents

TTMSFNCWebPushServer.OnRegisterSubscription Event

Occurs when a request to register a new subscription arrives, allowing custom processing of the payload.

API unit family: TMS.TMSFNCWebPushServer Declaring type: TTMSFNCWebPushServer Inherited from: TTMSFNCCustomWebPushServer

Syntax

OnRegisterSubscription: TTMSFNCWebPushServerSubscriptionEvent;

Parameters

Name Description
Sender The server that raised the event.
AData The parsed JSON payload for the subscription request.
AHandled Set to True to take over subscription storage.