Skip to content

Instantly share code, notes, and snippets.

@voxpelli
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voxpelli/f9f03f2a2b911900ebca to your computer and use it in GitHub Desktop.
Save voxpelli/f9f03f2a2b911900ebca to your computer and use it in GitHub Desktop.
Private Messaging With From: Sequence diagram
Title: Private Messaging With From:
participant alice
participant bob
participant wm.bob
participant hub.alice
alice->bob: 1. discover webmention\nendpoint
alice->wm.bob: 2. send webmention
wm.bob->alice: 3. verify webmention
alice-->wm.bob: 401 unauthorized
wm.bob->alice: 4. discover PubSubHubbub endpoint
wm.bob->hub.alice: 5. one-off PuSH subscribe\nto private message URL\nwith "From: bob" header
hub.alice->bob: 6. verify delegation to ensure\nthat wm.bob can fetch for bob
hub.alice->wm.bob: 7. Push the message on\nsubscription success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment