tubesock
tubesock copied to clipboard
Websocket interface on Rack Hijack w/ Rails support
Hi, I am trying to setup a connection between Tubesock and the Android library okhttp-ws. It looks like okhttp-ws sends pings but does not provide ping response mechanism. I see...
I've noticed if I access the hijacked controller from directly (and not through JS, where I call socket.close), the resource will sit loading forever. How can I go about properly...
Releases db connections after each callback is called so that a small number of db connections can be shared by a larger number of websocket connections. Proposed fix for #11
I was wondering if there is any known way to write tests for the websocket endpoints? Mainly would like to check that incoming messages trigger proper actions and send responses...
First of all i want to say thanks for this awesome gem! Im not sure if i missunderstood something but i thought that with websockets i can communicate with several...
Tubesock crashes in Rails4.2.0.beta with the following error: ``` Started GET "/chat" for ::1 at 2014-11-09 14:20:01 -0800 Processing by ChatController#chat as HTML Rendered text template (0.1ms) Completed -1 in...
same solution as https://github.com/ngauthier/tubesock/pull/35 but with setting addrinfo through @socket.peeraddr
tubesock-0.2.4/lib/tubesock.rb:97:in `each_frame': undefined method`recvfrom' for #Puma::MiniSSL::Socket:0x000000091162b0 (NoMethodError) env: puma v2.9.2 Looks like there's no recvfrom method when using ssl.
The backtrace that pops when rails reloads in dev environment is: ``` activesupport-4.0.1/lib/active_support/dependencies.rb:446:in `load_missing_constant': A copy of Api::NotificationController has been removed from the module tree but is still active! (ArgumentError)...
Would be more scalable not to hold a db connection and pass it with the block