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

Support new communication method (Webhooks) #3

Closed
soundvibe opened this issue Mar 17, 2016 · 0 comments
Closed

Support new communication method (Webhooks) #3

soundvibe opened this issue Mar 17, 2016 · 0 comments
Assignees
Labels

Comments

@soundvibe
Copy link
Owner

Consider implementing new communication method in addition to websockets. One of the simplest solutions could be using something similar to Webhooks.

Flow could be something like this:

  1. Command invoked
  2. Initial POST request (which contains given command and webhooksUrl where events should be pushed) is sent to the command handler
  3. Command handler receives command and executes it
  4. Each onNext, OnError or OnCompleted events send POST requests with given event data to registered webhooksUrl.

Some thoughts:

  • Do we send the data in json format (preferred way when using Restful services) or just use protocol buffers?
@soundvibe soundvibe self-assigned this Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant