Registry / messaging / nats-pure

nats-pure

JSON →
library2.5.0rbrubygemsunverified

NATS is an open-source, high-performance, lightweight cloud messaging system, implemented in pure Ruby.

gem install nats-pure
INSTALL
IMPORT
SIG · NATS-PURE
N
nats-pure
messagingrubyv2.5.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.

NATS
require 'nats/client'

Connect to NATS, subscribe to a subject, and publish a message.

require 'nats/client' NATS.start(servers: ['nats://localhost:4222']) do |nc| nc.subscribe('greet') do |msg| puts "Received: #{msg}" end nc.publish('greet', 'Hello, NATS!') end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
nats-pure — gem install nats-pure · libregistry