3 ms·
Maybe Flutter works as a client to a native localhost app? (Analogous to the browser for a localhost web app like Jupyter Notebook[1].) Does it have a Websocke
by networkimprov 7y ago
Maybe Flutter works as a client to a native localhost app? (Analogous to the browser for a localhost web app like Jupyter Notebook[1].)
Does it have a Websocket client?
[1] https://jupyter.org https://jupyter.org
- kllrnohj 7y agoThere's no reason to bother with websocket stuff, you can just call out to native code via platform channels ( https://flutter.dev/docs/development/platform-integration/platform-channels https://flutter.dev/docs/development/platform-integration/pl... ) Just that once you do that you're no longer a portable cross-platform app, and there's limits to what you can do with that pipe in terms of data marshaling and the overhead from that.
- networkimprov 7y agoUnless you're porting an existing localhost web app which is accessed via Websockets.
- Hixie 7y agohttps://master-api.flutter.dev/flutter/dart-io/WebSocket-class.html https://master-api.flutter.dev/flutter/dart-io/WebSocket-cla...