symfony / mercure

The Mercure Component allows to easily push updates to web browsers and other HTTP clients using the Mercure protocol.
https://symfony.com/doc/current/components/mercure.html
MIT License
413 stars 39 forks source link

Add lastEventId option to Twig extension #72

Closed chrishemmings closed 2 years ago

chrishemmings commented 2 years ago

Allow the option lastEventId to be passed into the mercure() Twig extension options, which then sets Last-Event-ID into the subscriber url.

chrishemmings commented 2 years ago

Thanks for the suggestions @dunglas , they have been implemented.

dunglas commented 2 years ago

Thank you @chrishemmings

chrishemmings commented 2 years ago

Pleasure, thanks for all your hard work @dunglas 👍