Sha256: 2324f8e10124ac3586833ddd741f78f7abb1ff8a3aec623798479141e1b0ced0
Contents?: true
Size: 569 Bytes
Versions: 3
Compression:
Stored size: 569 Bytes
Contents
# BunnyRpc rabbitmq RPC on bunny ## Installation Add this line to your application's Gemfile: ```ruby gem 'bunny_rpc' ``` And then execute: $ bundle Or install it yourself as: $ gem install bunny_rpc ## Usage ### Client ``` require 'bunny_rpc' client = BunnyRpc::Client.new client.publish('okokokokok', 'queue1') client.close ``` ### Server ``` require 'bunny_rpc' server = BunnyRpc::Server.new server.subscribe('queue1') do |data| puts data 'get it !' end the last block body is the return body. ``` ## TODO * to become backend_work.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bunny_rpc-0.1.6 | README.md |
bunny_rpc-0.1.5 | README.md |
bunny_rpc-0.1.4 | README.md |