faye Questions
5
Solved
Hi all I'm trying to send a javascript object through websockets:
the faye-websockets documentation says:
send(message) accepts either a String or a Buffer and sends a text or binary message over...
Jaclin asked 23/10, 2012 at 10:39
1
I am very puzzled and this is my first Faye or Pub/Sub implementation so please forgive me if this is a basic questions. I have not found answers anywhere else. Any help is appreciated.
How can I...
Edythedythe asked 5/4, 2017 at 20:43
2
I'm using Rails 4.1.1, Thin 1.6.2, Redis 2.8.9 (with Hiredis driver), and faye-rails gem.
I use faye-rails to subscribe to changes on a few models,
and I use Redis for other (unrelated) stuff.
Wh...
Kwan asked 1/6, 2014 at 18:11
1
Solved
Implementing Web Sockets in my app I've become confused which gem is better. I found plenty of different opportunities, however, some are hard to distinct.
Finally, I've chosen Action Cable (a Rai...
Eldoria asked 21/2, 2017 at 10:53
3
Im developing a chat application just like omegle.com with some more features for my college project. I want to know which would be the best approach from following two and why:-
NodeJS + Socket....
Lucey asked 31/3, 2014 at 8:34
2
I am referring to the pub railscast tutorial and have followed all steps properly but while running last command i.e.
rackup private_pub.ru -s thin -E production
to rackup the faye server I am g...
Sunglasses asked 13/2, 2013 at 4:25
1
I have an app that has a page on which user must see in relatively real-time how 2 steps are processed.
Now this is done by ajax short-polling. I'd like to change it to some less server-heavy tech...
Beore asked 29/8, 2015 at 12:41
1
Solved
Just simple question, because I didn't find any references in docs..
3
Solved
I am developing a chat application using rails 3.2.12 and a great gem called private pub, for which you can find a screencast here. It is built on top of faye and enables you to easily build real t...
Heinz asked 17/3, 2013 at 1:4
1
Solved
Rails 4.1.1
Ruby 2.1.1
The access point is https://pacific-savannah-8641.herokuapp.com
Gemfile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem '...
Bibby asked 11/2, 2015 at 15:30
1
Solved
I have a super simple script that has pretty much what's on the Faye WebSocket GitHub page for handling closed connections:
ws = Faye::WebSocket::Client.new(url, nil, :headers => headers)
ws...
Kan asked 8/4, 2014 at 15:10
1
Solved
I have already used Faye with Ruby On Rails, it's almost at 0 cost for me, because I'm running Faye over another server connected to my Rails App.
However I have faced some problems like when a qu...
Expound asked 3/3, 2014 at 22:2
1
I'm building a messaging app like WhatsApp. My goal is to expose only REST API through Rails and "push notifications" to connected clients via websockets. So clients communicate with server only wi...
Blowy asked 26/7, 2013 at 15:11
1
Currently im using private_pub + faye to have some basic streaming in Rails 4 project.
Would it be possible to replace faye and private_pub and use Rails 4 streaming ( server send events instead ?...
Opalina asked 19/9, 2013 at 18:30
1
Solved
I'm using the 'faye' gem with Rails 3.2.13. In development I'm running faye on localhost:9292 and my app on localhost:3000. I'm able to activate pop-up windows with a curl request from the command ...
Treasurehouse asked 17/8, 2013 at 7:20
1
Solved
I am using rails for more than 2 years now,,now I am building a real time application which is simple social network ,using private_pub gem for commenting and notifications ,I read about nodejs and...
Alysonalysoun asked 1/3, 2013 at 18:24
2
I'm trying to use Faye to build a simple chat room with Rails, and host it on heroku. So far I was able to make the Faye server run, and get instant messaging to work. The crucial lines of code tha...
Threecolor asked 18/6, 2012 at 11:3
4
Solved
I currently have Faye working with my Rails 3.0.9 application. However I have two separate tabs open in my terminal. One for the Faye server, and one for the Rails server. How can I integrate them ...
Commandant asked 21/6, 2011 at 18:49
1
Solved
I have searched A LOT and couldn't find any resource that says I can use Faye with jruby. I have found this one that says that it doen't play well with jruby but it's really really old. Also I have...
Amador asked 3/9, 2012 at 15:56
2
If I understand correctly, Juggernaut is built on top of socket.io, and Faye competes with Juggernaut layer and socket.io layer combined. Recently Ryan Bates came up with a Faye wrapper called Priv...
Forlini asked 4/2, 2012 at 10:0
3
Solved
I am using ruby 1.9.3 and rails 3.2.2. Every time i use the thin server with private_pub gem it does not work i did rackup private_pub.ru -s thin -E production. I get the following error
/home/rza...
Ceratodus asked 5/3, 2012 at 19:40
2
Solved
I'm using Faye for dispatching messages and it works well. But I want to retrieve the active connections for a given channel, and things behave a bit differently: See "list active subscribers on a ...
Slog asked 10/1, 2012 at 17:16
1
I am trying to make a chat on my website looking like google talk. I
want to manage the disconnect event. A user can disconnect on several
way :
By clicking the disconnect button (easy to push th...
Trencherman asked 28/10, 2011 at 11:49
1
Solved
In a Rails app I've used Faye (Rack adapter) for push notifications (for chat).
I want to use Faye for another use case (more push notifications) but I can't seem to figure it out.
In my app a mo...
Hatred asked 11/8, 2011 at 15:55
2
Solved
I thought I understood this technology, but maybe I don't. What's the difference between the two? Why would you choose one over the other?
Usecase: ~Realtime updates.
Strade asked 13/6, 2011 at 17:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.