Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Firehose protocol in PROTOCOL.md #56

Open
bradgessler opened this issue Jun 1, 2016 · 0 comments
Open

Document Firehose protocol in PROTOCOL.md #56

bradgessler opened this issue Jun 1, 2016 · 0 comments
Milestone

Comments

@bradgessler
Copy link
Member

Document Firehose protocol for publishers and subscribers over HTTP Long Polling and WebSockets in PROTOCOL.md. Ideally the message formats should:

I propose the following format for publishing:

// Message from service published to Firehose
{
  "message": "Bee boop",
  "channel": "/greetings/from/mars",
  "ttl": 60
}

And the following for a client consuming a sequence of messages:

// Message from Firehose to consuming client
{
  "message": "Bee boop",
  "channel": "/greetings/from/mars",
  "sequence": 101
}
@bradgessler bradgessler added this to the 2.0 milestone Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant