Saturday 23 February 2019

Adding a single socket endpoint in a RESTful API server

I have an API server but there's a case where I need to display/post real time information in a web app​A good example would be:/:room-id/messages - returns all messages (REST api endpoint)/:room-id/latest-message - returns the latest message only (updated in real time whenever someone posts there) (socket endpoint)​Is this possible using a single server? If so, where can I learn more about such a case?

Submitted February 23, 2019 at 03:53PM by dutryz

No comments:

Post a Comment