Sha256: cd2b9416b17624ce056a6ce5adf0d5db23a9faa459f2cfa59f3097ccdc3b150d
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
# MQTTRpc rabbitmq RPC on mqtt,轻量级通讯协议的同步请求 ## Installation Add this line to your application's Gemfile: ```ruby gem 'mqtt_rpc' ``` And then execute: $ bundle Or install it yourself as: $ gem install mqtt_rpc ## Usage ``` require 'mqtt_rpc' client = MQTTRpc::Client.new(options) 3 seconds will timeout client = MQTTRpc::Client.new(options, 3) response_body = client.publish('request_topic', 'message', 'response_topic') ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mqtt_rpc-0.2.0 | README.md |