Registry / networking / websocket-eventmachine-client

websocket-eventmachine-client

JSON →
library1.3.0rbrubygemsunverified

WebSocket client for Ruby using EventMachine.

gem install websocket-eventmachine-client
INSTALL
IMPORT
SIG · WEBSOCKET-EVENTMAC
W
websocket-eventmachine-client
networkingrubyv1.3.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::EventMachine::Client
✓ require 'websocket-eventmachine-client'

Connect to a WebSocket echo server and send a message

require 'websocket-eventmachine-client' EM.run do ws = WebSocket::EventMachine::Client.connect(uri: 'ws://echo.websocket.org') ws.onopen { ws.send 'Hello' } ws.onmessage { |msg| puts msg; EM.stop } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
websocket-eventmachine-client — gem install websocket-eventmachine-client · libregistry