Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create a web socket client in Ruby?

I need post some data to websocket server from my rails application. Meaning, I have made a Rails web service where I need to post some data to a web socket server when some API calls are made. Is there any pre-built library which provide to create a web socket client easily in Rails?

like image 929
hbdev012 Avatar asked Mar 02 '12 09:03

hbdev012


1 Answers

Ruby client and server: https://github.com/igrigorik/em-websocket

Also: https://github.com/mplatov/ruby-websocket-client

like image 153
kanaka Avatar answered Oct 10 '22 08:10

kanaka