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

Get client up to date with the latest server #11

Open
mitchellwrosen opened this issue May 19, 2018 · 0 comments
Open

Get client up to date with the latest server #11

mitchellwrosen opened this issue May 19, 2018 · 0 comments

Comments

@mitchellwrosen
Copy link
Collaborator

The flow should now be:

  • On startup, send a subscribe message.
    { "type": "subscribe", "topic": <room> }
    
  • Continue as before with payload messages.
    { "type": "message", "topic": <room>, "payload": <payload> }
    
    The server will forward payload messages whose topic exactly matches any previously subscribed string, without the type tag. They look like:
    { "topic": <room>, "payload": <payload> }
    
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