Skip to content

Allow closing SSE connection by sending 204 status code? #76

@Dima-369

Description

@Dima-369

NOTE: There is no proper way within the spec for the server to “close” the SSE connection. There are ways around it.

I read that in https://hexdocs.pm/mist/mist.html#server_sent_events.

In https://stackoverflow.com/a/78914434 it is suggested to just respond with 204 to close the SSE connection. Would that work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions