好了,所以我創建了使用各種教程的WebSocket的服務器,例如:在Dart類'_WebSocketImpl'中導致錯誤的原因是沒有實例方法'send'?
http://japhr.blogspot.co.uk/2012/12/dart-client-and-server-websockets.html http://www.dartlang.org/docs/dart-up-and-running/contents/ch05.html
然而,當我運行服務器端的代碼,並嘗試將數據發送到客戶談到了
Class '_WebSocketImpl' has no instance method 'send'
發送方法更改爲什麼?