Saturday 15 May 2010

websocket - What causes the error in Dart Class '_WebSocketImpl' has no instance method 'send'? -


OK, I've created a websocket server using different tutorials like:

However, when I run server-side code and try to send data to a client, then it comes with

class '_WebSocketImpl'. 'Send' is not a method '

OK, here it is The issue was originally all of the tutorials on the web and the information about many Google Talk pages was outdated. I was told many times by the people that it is an error in the send function and in my code if it is not working is.

This is actually a very simple change, send has been renamed to add .

Unbelievably frustrating if you accidentally forget to read the document.

No comments:

Post a Comment