sinatra-websocket icon indicating copy to clipboard operation
sinatra-websocket copied to clipboard

Makes it easy to upgrade any request to a websocket connection in Sinatra

Results 17 sinatra-websocket issues
Sort by recently updated
recently updated
newest added

Hi! I have an app at with source at https://github.com/donv/ruby_for_java_developers running at http://ruby-for-java.herokuapp.com/ When users connect, a websocket should be opened to enable a follow mode if the user presses...

I have the gem working locally without any snags, but I encountered an issue trying to run the app on my cloud development environment. In the browser, I see this...

Any tips/tricks/insight for how to write rspec tests that open websockets?

Hi, Is it possible to access a user's session data from a route that's handling a websocket? ``` rb get "/room/:id" do |room_id| room = Room.find(room_id) user = User.find(session[:uid]) if...

Hi, I'm trying to get this code to run with apache 2.4 as the httpd. I can see that it is intended for use with thin, but can someone point...

Just started seeing these periodically since updating my Ruby. Any ideas to a likely cause? ``` /Users/jamestindall/.rvm/gems/ruby-2.1.9/gems/rack-1.6.4/lib/rack/lint.rb:274: [BUG] Segmentation fault at 0x00000000000100 ruby 2.1.9p490 (2016-03-30 revision 54437) [x86_64-darwin14.0] -- Crash...

Looks like the close socket event is not getting fired when network connection times out. Any ideas why that might be the case. Also is it possible to close an...

Have you seen this error at all? ``` $ thin -R config.ru start Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to 1024 Listening on 0.0.0.0:3000, CTRL+C to...

What could be the reason that the messages are being delayed and then published all at once?