Table of Contents

TTMSFNCCustomWebPushSender Class

Base sender that delivers web push notifications to subscribed clients. It signs each request with the configured authentication keys and claims, resolves recipients from an attached subscription store, and reports delivery results through its events. Use the published TTMSFNCWebPushSender descendant on a form or data module.

API unit family: TMS.TMSFNCWebPushSender Inherits from: TComponent

Syntax

TTMSFNCCustomWebPushSender = class(TComponent)

Methods

Name Description
SendNotification Sends a raw JSON payload to a single subscription with default delivery options.
SendNotificationAll Sends a raw JSON payload to every active subscription in the store using default delivery options. Requires an assigned subscription store.
SendNotificationById Sends a raw JSON payload to every active subscription of a user using default delivery options. Requires an assigned subscription store.