-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fc40f3
commit aea08da
Showing
8 changed files
with
841 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
sequenceDiagram | ||
autonumber | ||
participant Browser Messaging Service as Browser Messaging Service (NR) | ||
participant PWA as PWA (DC & SC) | ||
participant Storage as Storage (RS) | ||
participant Subscription Service | ||
participant Notification Sender | ||
|
||
Note over PWA, Storage: Discovery (Solid) | ||
PWA ->>+ Storage: GET Storage Description | ||
Storage -->>- PWA: 200 OK includes Subscription Service description | ||
|
||
Note over PWA, Browser Messaging Service: Create Subscription (WebPush) | ||
PWA ->>+ Browser Messaging Service: Subscribe to Web Push Service | ||
Browser Messaging Service -->>- PWA: Web Push Subscription data | ||
|
||
Note over PWA, Subscription Service: Establish Channel (Solid) | ||
PWA ->>+ Subscription Service: Submit subscription request to discovered subscription service via POST | ||
Subscription Service -->>- PWA: 201 CREATED | ||
|
||
Note over Browser Messaging Service, Notification Sender: Deliver Notifications on the channel (WebPush & Solid) | ||
loop for each notification | ||
Notification Sender -) Browser Messaging Service: Deliver notification (Solid & WebPush) | ||
Browser Messaging Service -) PWA: Deliver notification (WebPush) | ||
end | ||
|
||
Note over PWA, Subscription Service: Delete channel (Solid) | ||
PWA ->>+ Subscription Service: Unsubscribe (delete channel) | ||
Subscription Service -->>- PWA: 204 No Content | ||
|
||
Note over PWA, Browser Messaging Service: Cancel Subscription (WebPush) | ||
PWA ->>+ Browser Messaging Service: Unsubscribe (delete subscription) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.