Skip to content

SSE Keep-Alive #6035

Closed
Closed

Description

Product

Hot Chocolate

Is your feature request related to a problem?

Subscriptions over SSE work really well, but a problem we have is that there's no keep-alive mechanism. This manifests itself when using something like Azure Application Gateway which closes idle connections after a pre-configured timeout. There's an open discussion regarding this topic in the Web Hypertext Application Technology Working Group repository.

The solution you'd like

SSE support should be more explicit and allow a configurable keep-alive message to be dispatched to all connected clients. Alternatively, is there an injectable interface which allows us to get all connected subscribers and manually issue keep-alives in a background service?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions