Skip to content

[feat] provide SSE (ServerSentEvents) as alternative to websocket #14551

@nimo23

Description

@nimo23

Describe the problem

Currently we need to use @tauriApps/plugin-websocket for unidirectional streaming (from server to client). However, there is another web standard specifically for such unidirectional streaming: Server Sent Events (SSE).

Describe the solution you'd like

Would be nice to also have @tauriApps/plugin-sse to support "server sent events".

Especially for mobile applications, SSE is a much more energy-saving alternative. Btw, in contrast to the use of the "web's native implementation", Tauri can even improve SSE communication by

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions