-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ServerSendEvent support for Flutter Web #1859
Comments
How do you initialize dio? |
final dio = Dio(BaseOptions( got it, Is there a plan to support this feature on web? |
This library already supports web, so you actually shouldn't have any problem. Can you provide an example which reproduces this issue? |
This is a duplicate of #1740, as XHR requests do not currently support readable streams. |
Also, I've been planning to add extra support for SSE as an adapter or so, and only for the Web platform. |
We should really throw an UnsupportedException or something like that for this operation while it's not working. That would make things more obvious. |
Request Statement
When request for ServerSendEvent stream on TargetPlatform: Web, it response with a UnsupportedError: RawSocket constructor
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: