em-websocket
em-websocket copied to clipboard
EventMachine based WebSocket server
I am wondering if the code that gets executed in onmessage, onopen, etc runs on a new thread every time. I know it isn't an issue was just wondering and...
I need to be able to publish data to specific websockets. The full gist of it is: https://gist.github.com/AvnerCohen/72540e2dc13a56b4be87 Specifically I do something like: ``` ruby ws.onmessage do |msg| event_type, *data...
Would be nice if we could give alternate responses on handshake failure (such as a 401 when there is an authorization issue).
When using "wss" chrome (version 36.0.1985.125) does not receive "on close" event. Works as expected on Firefox and Safari. Works as expected on Chrome when using "ws".
I have been building a debian package of em-socket for kali linux and the source package is built on top of the .tar.gz archive (such as those that can be...
Unless a person is implementing a standard service one is stuck with the hazardous task of binding to a free port. Fortunately sockets provide a service for this invoked by...
What I would like to achieve is writing my own module/class containing `onopen`, `onmessage` and other events' handlers, include `EM::WebSocket` in it and just run `EM.start_server` providing this module as...
Currently Connection#dispatch relies on raw http input. When using this in an environment where the raw http input is already parsed (and thus not easily available) (think vanilla rack/thin app),...
HAProxy messes up the upgrade process for draft 76, see: https://github.com/learnboost/socket.io/commit/9982232032771574ceb68e2bccee4e43fd5af887#diff-0 I noticed this cause it just broke some of my tests, for this to work behind haproxy in http...
This is part feature request, part documentation request. I am using https://github.com/faye/faye-websocket-ruby in my current project, mainly cause it offers a simple integration point with Rack and Thin. To get...