Skip to content

Feature request: Add SSE support for restish data streaming #294

@NicoleStrel

Description

@NicoleStrel

Currently, restish does not support receiving or processing data from endpoints that use the text/event-stream (SSE) content type. This limitation makes it difficult to use restish for interacting with logging or event endpoints that stream realtime data, which is a common pattern for modern APIs.

It would be very useful if restish could:

  • add support for SSE, allowing the client to stream and display data in realtime as it arrives from the server.
  • recognize and handle text/event-stream as an accepted response type, ensuring that streamed data is not buffered or truncated, and is presented to the user as it is received.

Examples of cli tools that support SSE:

Maybe something similar can be done, a flag can be added to accept sse events

Let me know what you think! Also I'm interested in working on this feature if there are no takers :)

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