Registry / networking / async-websocket

async-websocket

JSON →
library0.30.0rbrubygemsunverified

An async websocket library built on top of protocol-websocket, providing non-blocking WebSocket communication.

gem install async-websocket
INSTALL
IMPORT
SIG · ASYNC-WEBSOCKET
A
async-websocket
networkingrubyv0.30.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.

Async::WebSocket
require 'async/websocket'

Connect to a WebSocket server and send/receive messages

require 'async/websocket' require 'async' Async do client = Async::WebSocket::Client.connect(URI('wss://echo.websocket.org')) client.send_text('Hello') puts client.receive end
Debug
Known issues
breakingRequires Ruby 2.5+ and the async gem
fix
Ensure Ruby >= 2.5 and add 'async' to Gemfile
affects: < 0.20.0
Upgrade
Version history
0.30.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
69 hits · last 30 days
node
48
Bingbot
14
OpenAI (training)
1
Resources
async-websocket — gem install async-websocket · libregistry