Table of Contents

TMS FNC Web Push Server — Guides

Activating the server

Set Active to True to start listening. Set it back to False to stop the listener cleanly. The server begins accepting browser subscription requests as soon as it is active.

Configuring SSL

Assign a TTMSFNCWebPushSSLCertPath value to SSLCertPath with the paths to your certificate and private key files, then set DefaultHTTPSPort to the desired port (default 443). The OnCreateIOHandler event lets you supply a custom SSL handler if the built-in handler does not meet your requirements.

Subscription lifecycle events

Event Fires when
OnRegisterSubscription A browser registers a new push subscription.
OnUnregisterSubscription A browser unregisters an existing subscription.
OnUpdateSubscription An existing subscription is refreshed by the browser.
OnUserActiveStateChange A client reports a change in active/inactive state.

See also