Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-connection mechanic #199

Open
CxRes opened this issue Nov 9, 2024 · 0 comments
Open

Re-connection mechanic #199

CxRes opened this issue Nov 9, 2024 · 0 comments

Comments

@CxRes
Copy link
Member

CxRes commented Nov 9, 2024

We need a re-connection mechanic when subscription is dropped to ensure that no notifications were lost in the interim.

A possible candidate is re-using "Last-Event-ID" mechanism from SSE/Eventsource. The state of the notification can be sent back using the Last-Event-ID header upon reconnection, so the resource sender can take appropriate action: Send missing notifications, inform you to re-fetch the resource etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant