使用Dart的Flutter框架与Websockets接口



在本教程中,我们构建一个使用streambuilder小部件的websocket应用程序。

源代码:https://github.com/tensor-programming/flutter_websockets

Websocket Org Echo服务器:http://www.websocket.org/echo.html

随意捐赠:
Patreon:https://www.patreon.com/tensor_programming
BTC:1ExBSiaEa3pceW98eptJwzR9QHrYZ71Xit
ETH:0xD210Ea51F1615794A16080A108d2BC5471F60166
ADA:DdzFFzCqrhsqPcLbpt3C9nkSW2HvMJJCER5c9ijxKwXDet3GT5KchnUp458zN9uVmCzRjzwyy8usFUEhwBQ63h2ZjvyAXHYnHRG8MZpv

查看我们的博客:http://www.tensor-programming.com/
查看我们的Twitter:https://twitter.com/TensorProgram
看看我们的Facebook:https://www.facebook.com/Tensor-Programming-1197847143611799/
查看我们的Steemit:https://steemit.com/@tensor。

14 comments
  1. Hello sir,

    Sorry it might be a newbie question.

    If the application is run on more than one client,

    and every time there is added data to server, will each client's widget be rebuilt ?

    In other words

    If a client adds data to server, will all client's widgets be rebuilt ?

    Thank you for your attention.

  2. Sir, I have a website which has a login system how can I interface with this site and enter username and password to the site and log in.

  3. Thank you very much. can we use ws to connect local network such as channel = IOWebSocketChannel.connect('ws://192.168.1.92:1024')? also I have socket service in my network and I can access it with telnet. So, how can I implement such a oprtion to web socket?

Comments are closed.