40ants / weblocks-websocket

Websocket support for Common Lisp framework weblocks.
2 stars 3 forks source link

Is it possible to use EventSource instead #3

Open naryl opened 4 years ago

naryl commented 4 years ago

The feature implemented by this system is essentially unidirectional server->client communication. And with EventSource you'll get client-side automatic reconnections for free.

svetlyak40wt commented 3 years ago

I'd prefer to use websockets in both directions. It would be cool to make a special protocol which will allow Weblocks to use usual POSTs/longpolling, Websockets, or POSTs/EvenntSources for communications with the frontend.