Has anyone else struggled with the two incompatible implementations of WebSocket in dart:html and dart:io?

I'm attempting to write a browser/vm implementation of a Socket you can use with +Yehor Lvivski's awesome start project on pub, but am having to do all sorts of hand waving to make a similar API work in both places. 

Here's the +Dart but where this is discussed further:

https://code.google.com/p/dart/issues/detail?id=2958

And here's the pull request where I'm struggling with making sockets work gracefully in both browser and vm:

https://github.com/lvivski/start/pull/30
Shared publiclyView activity