From 2ba3a9e739c7b5acca6396cac2055ff341e1f6cb Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 25 Sep 2018 02:18:01 +0200 Subject: [PATCH] Improve heading --- content/en/api/push.md | 2 +- content/en/api/streaming.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/api/push.md b/content/en/api/push.md index 23148ef1..fcc56144 100644 --- a/content/en/api/push.md +++ b/content/en/api/push.md @@ -6,7 +6,7 @@ menu: weight: 5 --- -Mastodon natively supports the [Web Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API). You can utilize the same mechanisms for your native app. For a reference, see [Mozilla's web push server](https://github.com/mozilla-services/autopush), and more practically, see: +Mastodon natively supports the [Web Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API). You can utilize the same mechanisms for your native app. It requires running a proxy server that connects to Android's and Apple's proprietary notification gateways. However, the proxy server does not have access to the contents of the notifications. For a reference, see [Mozilla's web push server](https://github.com/mozilla-services/autopush), or more practically, see: - [toot-relay](https://github.com/DagAgren/toot-relay) - [PushToFCM](https://github.com/tateisu/PushToFCM) diff --git a/content/en/api/streaming.md b/content/en/api/streaming.md index 52d975d5..4ae9d336 100644 --- a/content/en/api/streaming.md +++ b/content/en/api/streaming.md @@ -10,7 +10,7 @@ Your application can use a [server-sent events](https://developer.mozilla.org/en Alternatively, a WebSocket connection can also be established. -## HTTP +## Server-sent events (HTTP) ### Endpoints **GET /api/v1/streaming/user**