CookieStoreManager
The CookieStoreManager
interface of the Cookie Store API allows service workers to subscribe to cookie change events. Available only in secure contexts.
Functions
Link copied to clipboard
The getSubscriptions()
method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
Link copied to clipboard
Link copied to clipboard
The subscribe()
method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
Link copied to clipboard
Link copied to clipboard
The unsubscribe()
method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
Link copied to clipboard