We have started implementing the /subscription endpoint using web sockets as detailed in the subscriptions api here.
Instead of using web sockets, it is also possible to use HTTP Server Sent Events as suggested by @selloween . See a comparison of the two methods here
Having only one protocol in the API has its advantages in terms of implementation, so I was wondering what is the reason for choosing web sockets instead of HTTP-SSE?
@m-mohr mentioned that browsers may allow only a handful of simultaneous HTTP connections, so this may in fact a reason to go with web sockets.
Did anyone already work a bit on this service (beside Matthias)? Any thoughts?
We have started implementing the /subscription endpoint using web sockets as detailed in the subscriptions api here.
Instead of using web sockets, it is also possible to use HTTP Server Sent Events as suggested by @selloween . See a comparison of the two methods here
Having only one protocol in the API has its advantages in terms of implementation, so I was wondering what is the reason for choosing web sockets instead of HTTP-SSE?
@m-mohr mentioned that browsers may allow only a handful of simultaneous HTTP connections, so this may in fact a reason to go with web sockets.
Did anyone already work a bit on this service (beside Matthias)? Any thoughts?