Reputation: 214
I want to implement a feature like, if anything has been updated on Server-side like in database(the change can be from a client or another resource), then an event should be triggered and i come to know what change has been made. Then, through a rest api, i will send the response to UI with an event code, message and the new data from database. And on UI, i have the approach to handle the events. Please, tell me the approach or study material to implement this feature.
Upvotes: 4
Views: 1998
Reputation: 2466
To use bi-directional communication between the clients and server you can use one of the following frameworks depending on your requirments:
Upvotes: 3