Skip to main content
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

TMS.TMSFNCWebPushServer.hppPascalC++
OnRegisterSubscription: TTMSFNCWebPushServerSubscriptionEvent;
__property TTMSFNCWebPushServerSubscriptionEvent OnRegisterSubscription = {read=FOnRegisterSubscription, write=FOnRegisterSubscription};

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.