Recently, I came across this kind of need. The client(web browser) requests for a task to be done asynchronously at the server side, then the client leaves it behind.

When the server finishes the task, it will notify the client by sending some message.

So, my question is:

Is there a way to send message(plain text, json, etc) from the server side to the client initiatively?

Edit
Report