gimite / web-socket-js

HTML5 Web Socket implementation powered by Flash
BSD 3-Clause "New" or "Revised" License
2.73k stars 489 forks source link

Created Interface #58

Closed simb closed 13 years ago

simb commented 13 years ago

Hi There,

I got your response to my email so I wanted to post this pull request.

As you can see I only created an interface and defined those methods that allow interaction with the outer class.

Thanks,

sim

gimite commented 13 years ago

Thanks for the patch. Pulled with some clean up. Note that the cleanup and https://github.com/gimite/web-socket-js/pull/57 changed interface of WebSocket class.

Also I decided not to include WebSocket.swc (the file itself and the line in build.sh), because it's not required in main usage (i.e. called from JavaScript). Please build it by yourself.