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

feat: add Server-Sent Events support for stream cat #16

Merged
merged 4 commits into from
Sep 27, 2024

Conversation

cablehead
Copy link
Owner

  • Adds Server-Sent Events (SSE) support to stream cat
  • CLI: New --sse flag for cat command
  • API: Responds to Accept: text/event-stream header
  • Streams full frame data in SSE format:
    • event: topic
    • id: frame id
    • data: JSON-encoded full frame (including hash, but not the actual content)
  • Enables real-time, push-based updates from server to client
image image

@cablehead cablehead merged commit 1cd7c72 into main Sep 27, 2024
2 checks passed
@cablehead cablehead deleted the feat-stream-cat-sse branch September 27, 2024 03:48
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

Successfully merging this pull request may close these issues.

1 participant