In Haste, is it possible to call client code with RPC from the server?

In Haste , you can call client code with RPC from the server in the same way you can call client-side code on the server side? For example. to broadcast a message that someone entered the chat for all participants.

Here I see that a similar example is implemented, as I understand it - with a technique similar to a long survey; the client requests, and the server blocks the sending of a response until a message is sent to it; then the client requests again, etc.

But is it not possible to simply send something without a customer request?

+4
source share
1 answer

, - html5.

, . , , , .

+1

Source: https://habr.com/ru/post/1624694/


All Articles