Sha256: 3ee2fa1580444d2f5e8890c2b0322e2449a7a91c737910823760fce8f726e2c2

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

# MQTTRpc

Rabbitmq Transfer Message By Sync 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

```ruby
  require 'mqtt_rpc'

  # 3 seconds will timeout, default: 10
  sync_client = MQTTRpc::Client.new(options, 3)

  response_body = sync_client.publish('request_topic', 'message', 'response_topic')
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mqtt_rpc-0.3.0 README.md