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

Closing of SSE streams has changed #31

Open
edwig opened this issue Jan 23, 2023 · 0 comments
Open

Closing of SSE streams has changed #31

edwig opened this issue Jan 23, 2023 · 0 comments

Comments

@edwig
Copy link
Owner

edwig commented Jan 23, 2023

With the new HTML-5 standard of 2023 the closing of a SSE event stream has changed.
Clients no longer listen for the "event:close" to close the stream.

see the following link to the current WHATWG standardization:
https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation

"Clients will reconnect if the connection is closed; a client can be told to stop reconnecting using the HTTP 204 No Content response code."

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