Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Note: This feature is available in Web Workers.
The PushSubscriptionOptions
interface of the Push API represents the options associated with a push subscription.
The read-only PushSubscriptionOptions
object is returned by calling PushSubscription.options
on a PushSubscription
. This interface has no constructor of its own.