Sunday 12 March 2017

What's the best way to trigger an action in a webpage (Client) when an event takes place in node (Server)?

Hi,I'm trying to create a web page which runs certain tasks when certain things are done in node.js. For example, if I have my backend connecting to an IRC channel and somebody types "!black", I want my back end server to tell the client to change the background colour of the webpage to black, what would be the best way of doing this?

Submitted March 12, 2017 at 10:11PM by 23MPK

No comments:

Post a Comment