{"json_modified": "2016-03-28T08:50:21.124400", "uuid": "7f509e00-31ad-406b-ace0-1edf97679766", "title": "nsIPushService", "url": "/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIPushService", "tags": ["XPCOM Interface Reference", "Interfaces:Scriptable", "XPCOM", "Interfaces", "Push"], "translations": [], "modified": "2016-03-02T09:55:20", "label": "nsIPushService", "localization_tags": [], "locale": "en-US", "id": 173377, "last_edit": "2016-03-02T09:55:17", "summary": "Push lets a remote server send payloads to a web site, add-on, or component running in the browser. nsIPushService
supports the Push API implementation in Firefox, and can be used directly from privileged code to create system subscriptions.", "sections": [{"id": "Method_overview", "title": "Method overview"}, {"id": "Methods", "title": "Methods"}, {"id": "subscribe()", "title": "subscribe()"}, {"id": "subscribe-parameters", "title": "Parameters"}, {"id": "subscribe-example", "title": "Example"}, {"id": "getSubscription()", "title": "getSubscription()"}, {"id": "getSubscription-parameters", "title": "Parameters"}, {"id": "getSubscription-example", "title": "Example"}, {"id": "unsubscribe()", "title": "unsubscribe()"}, {"id": "unsubscribe-parameters", "title": "Parameters"}, {"id": "unsubscribe-example", "title": "Example"}, {"id": "Receiving_Push_Messages", "title": "Receiving Push Messages"}, {"id": "receive-example", "title": "Example"}, {"id": "See_also", "title": "See also"}], "slug": "Mozilla/Tech/XPCOM/Reference/Interface/nsIPushService", "review_tags": []}