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:
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