lifo / cramp

Real-time web application framework in Ruby
http://cramp.in
MIT License
1.5k stars 121 forks source link

No flash fallback support for websocket #14

Closed imanel closed 9 years ago

imanel commented 13 years ago

Currently most browsers doesn't support websocket and need flash fallback. Most used one is web-socket-js, but it require flash policy file to work. It would be nice if Cramp could have option to serve policy file. Example of implementing for Thin can be found here:

https://github.com/markjeee/Socket.IO-rack/blob/d6b51e2657e575908a8331df9e909ba05f330430/lib/palmade/socket_io_rack/mixins/thin_flashsocket_connection.rb