njh / ruby-mqtt

Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
http://www.rubydoc.info/gems/mqtt
MIT License
541 stars 135 forks source link

proto payload #110

Closed nik736 closed 6 years ago

nik736 commented 6 years ago

Hi there,

first of all thanks for this gem.

I want to send .proto files (content) as payload, let's assume I have a encoded file that was created with protoc, how do I publish a message with the encoded files content as payload?

Thanks