Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jun 21, 2012
Clean example of using websocket-rack with Sinatra. The websocket endpoint is mounted via a route (see config.ru). This allows for the web socket app and sinatra app to run on the same port. The example includes detection for for the websocket link going down with automatic reconnection. To see it in action stop/start thin and see what the client does in the browser. http://bit.ly/sinatrasockets