Registry / networking / web-socket-ruby

web-socket-ruby

JSON →
library0.1.0rbrubygemsunverified

HTML5 Web Socket server/client implementation in Ruby

gem install web-socket-ruby
INSTALL
IMPORT
SIG · WEB-SOCKET-RUBY
W
web-socket-ruby
networkingrubyv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebSocket
require 'web-socket-ruby'

Connect to a WebSocket server and send a message

require 'web-socket-ruby' ws = WebSocket.new('ws://example.com') ws.on(:message) { |msg| puts msg } ws.send('Hello')
Debug
Known issues
gotchaThis gem is outdated and may not support modern WebSocket extensions
fix
Consider using 'faye-websocket' or 'websocket-driver' instead
affects: >= 0
Upgrade
Version history
0.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
1
Resources
web-socket-ruby — gem install web-socket-ruby · libregistry