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

SSE: dart:io's HttpResponse buffers response even when buffering is disabled #36207

tejainece opened this Issue Mar 14, 2019 · 0 comments


None yet
3 participants
Copy link

tejainece commented Mar 14, 2019

  • Dart SDK Version: Dart VM version: 2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "windows_x64"

Server sent events (SSE) are great alternative to Websockets. They are unidirectional and work everywhere unlike Websockets which do not work dehind corporate firewalls/proxies.

It is impossible to implement SSE on the server side in Dart because messages are always buffered even when bufferOutput is set to false and flush is called.

Feature request: The actual flush method or some new flushXXX method that actually flushed data down the HttpResponse's wire.

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.