Simple and clean Sinatra + Websockets on Rack example.

It took me a good while to find a websockets solution that would play well with Sinatra, stay close to Rack’s metal, and deliver both the websocket and Sinatra apps over a single port number. I’ve extracted the simple end solution into a Github Project for use in my future projects and to hopefully save someone else some time exploring the myriad of over-engineered and bloated ruby+websocket solutions out there.

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

now playing: Facing Jinx and Philth – Miss Understanding

Tags: , , ,

One Response to “Simple and clean Sinatra + Websockets on Rack example.”

  1. Brian Says:

    Nice! Thanks for sharing this. Gonna join github and have a look, finally. Silly me. It’s the party I always wanted.

Leave a Reply