Sha256: 9f90888b40c89174718555960369c3b8b624bc63cf9404a6516209bf498dad8f

Contents?: true

Size: 811 Bytes

Versions: 4

Compression:

Stored size: 811 Bytes

Contents


## Qubitro Ruby MQTT Client Library

Ruby client library that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.

[![Actions Status](https://github.com/qubitro/mqtt-client-ruby/workflows/Ruby%20Gem/badge.svg)](https://github.com/qubitro/mqtt-client-ruby/actions) [![Gem Version](https://badge.fury.io/rb/qubitro-mqtt.svg)](https://badge.fury.io/rb/qubitro-mqtt)

### Example

```ruby
require 'qubitro-mqtt'

MQTT::Client.connect(
  :host => host,
  :port => 1883,
  :client_id => deviceID,
  :device_id => deviceID,
  :device_token => device_token,
  :ack_timeout => 15,
  :will_topic => deviceID,
  :will_payload => payload,
) do |client|
  puts 'connected'
end 
```

[Visit Qubitro documentation](https://docs.qubitro.com/client-guides/connect-device/raspberry-pi/ruby)


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qubitro-mqtt-0.0.11 README.md
qubitro-mqtt-0.0.10 README.md
qubitro-mqtt-0.0.9 README.md
qubitro-mqtt-0.0.8 README.md