Registry / networking / socket-io-client-simple

socket-io-client-simple

JSON →
library1.2.1rbrubygemsunverified

A simple Ruby client for Socket.IO v1.1.x, supporting only WebSocket transport.

gem install socket.io-client-simple
INSTALL
IMPORT
SIG · SOCKET-IO-CLIENT-S
S
socket-io-client-simple
networkingrubyv1.2.1
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.

SocketIOClientSimple
require 'socket.io-client-simple'

Connect to a Socket.IO server and listen for messages

require 'socket.io-client-simple' client = SocketIOClientSimple.new('http://localhost:3000') client.on('message') { |data| puts data }
Debug
Known issues
gotchaOnly supports WebSocket transport, not long-polling or other transports.
fix
Ensure your server supports WebSocket connections.
affects: >= 1.0.0
Upgrade
Version history
1.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
socket-io-client-simple — gem install socket-io-client-simple · libregistry