Skip to content

Commit

Permalink
Merge pull request #349 from dunglas/spec/other-protocols
Browse files Browse the repository at this point in the history
spec: mention explicitly that the hub can dispatch the update using other protocols
  • Loading branch information
dunglas committed Jul 8, 2020
2 parents 65ec858 + 9904064 commit 638a4c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/mercure.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ authorization rules not defined in this specification.
The publisher sends updates by issuing `POST` HTTPS requests on the hub URL. When it receives an
update, the hub dispatches it to subscribers using the established server-sent events connections.

The hub **MAY** also dispatch this update using other protocols such as WebSub
[@W3C.REC-websub-20180123] or ActivityPub [@W3C.REC-activitypub-20180123].

An application **CAN** send events directly to subscribers without using an external hub server, if
it is able to do so. In this case, it **MAY NOT** implement the endpoint to publish updates.

Expand Down

0 comments on commit 638a4c4

Please sign in to comment.