You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
service inside ExApp can be accessed through App API proxy(apps/app_api/proxy/whiteboard/some_url) - will it be enough to use longpolling with socket.io
Now that we have the basic sync running with the websocket_server, we should look into how we can mirror the behaviour with a PHP-only backend.
socket.io supports long polling https://socket.io/docs/v3/how-it-works/#http-long-polling which we could make use of
We could potentially require redis with https://github.com/phpredis/phpredis?tab=readme-ov-file#publish or just use a db backend if that is not present.
Required protocols to implement
https://github.com/socketio/engine.io-protocol
https://socket.io/docs/v4/socket-io-protocol#introduction
Additional resources
https://github.com/socketIo-php
https://github.com/socketIo-php/engine.io-parser
https://github.com/socketIo-php/socket.io-parser
The text was updated successfully, but these errors were encountered: