- Issue created by @effulgentsia
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Mercure appears to be just https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Usin...
They only list a βPublishβ client, but that is the trivial part.
Subscribing is the hard part, or rather, a PHP-based implementation of providing Server-Sent Events. Because it requires a connection that never closes, essentially an endlessly long HTTP response. That is not possible in PHP.
So: what is there to investigate? π€
- πΊπΈUnited States effulgentsia
I mean running the Hub binary (custom build of Caddy), whether on its own or as part of FrankenPHP or via the Cloud version. Not everyone is on hosting that lets you run a long-running binary process or will want to pay for the Cloud version, and that's fine, those people can run XB without real-time enhancements. But there's a growing number of hosting services that make either VPS or container-based hosting available at all the price points from super cheap to enterprise, and https://github.com/symfony/mercure should make it easy to integrate a Drupal site on any PHP server with a Mercure hub.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Ahhhh, I see! I missed the
in cases where the hosting supports that.
bit when I read it first thing this morning β apologies!
- πΊπΈUnited States effulgentsia
Changing to Active because it's not blocked on anything, but the XB team is not currently working on this.