bindings/push_api library

Classes

PushEvent
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Push API represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription.
PushEventInit
PushManager
The interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications. This interface is accessed via the ServiceWorkerRegistration.pushManager property.
PushMessageData
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats. Unlike the similar methods in the Fetch API, which only allow the method to be invoked once, these methods can be called multiple times. Messages received through the Push API are sent encrypted by push services and then automatically decrypted by browsers before they are made accessible through the methods of the interface.
PushPermissionDescriptor
PushSubscription
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Push API provides a subcription's URL endpoint and allows unsubscription from a push service. An instance of this interface can be serialized.
PushSubscriptionChangeEvent
PushSubscriptionChangeEventInit
PushSubscriptionJSON
PushSubscriptionOptions
The interface of the Push API represents the options associated with a push subscription. The read-only object is returned by calling PushSubscription.options on a PushSubscription. This interface has no constructor of its own.
PushSubscriptionOptionsInit