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

Implement Server-Sent Events #2960

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Implement Server-Sent Events #2960

wants to merge 13 commits into from

Conversation

Joannis
Copy link
Member

@Joannis Joannis commented Feb 15, 2023

Has an sse.html to test the GET /sse route in the Development app. I'll force-push that to be removed once I get a unit test as a replacement.

Relies on #2939

TODO:

  • Tests
  • Docs
  • retry

… crashes when users try to write a body from within a task towards the ELF APIs
… crashes when users try to write a body from within a task towards the ELF APIs
… into feature/jo-async-body-stream

# Conflicts:
#	Tests/VaporTests/PipelineTests.swift
Copy link

@jhoughjr jhoughjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@Joannis Joannis requested review from gwynne and 0xTim February 15, 2023 18:24
@0xTim 0xTim linked an issue Feb 16, 2023 that may be closed by this pull request
@Joannis Joannis self-assigned this Feb 22, 2023
@wendellli99
Copy link

Do we know when this will be merged? Trying to use SSE for MacPaw OpenAI's chat stream.

@Joannis
Copy link
Member Author

Joannis commented May 16, 2023

@wendellli99 it can't get reviewed yet, as this PR depends on the unmerged async streams PR. The PR is marked as merged, but was reverted

@wendellli99
Copy link

Ok. Any chance we can get that PR merged? We are eagerly waiting for SSE.

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.

SSE Client Consumption in Vapor
5 participants