Server-sent events support eg: text/event-stream
bariscck opened this issue · 1 comments
bariscck commented
Hey @AndrewBarba ,
Is there any way to use (server sent events) http streaming? I tried to implement it with Vapor and AsyncThrowingStream but the parent function only supports async throws; therefore no response is returned until the stream ends.
Thank you.
AndrewBarba commented
Hey! Unfortunately right now this package only implements the fully buffered response body, but Vercel does support streaming responses so there's a clear path forward to add support in this package. I'll leave this open to track it, I have to do some investigating to see what that API looks like.