Description
Make RPC calls via an MQTT broker.
Description
Please see the README on GitHub at https://github.com/dustin/net-mqtt-rpc#readme
README.md
mqtt-rpc
This package provides an RPC client interface over MQTT.
It's currently quite low-level and not very configurable, but I'm using it in a real application, so it at least needs to work for me. :)
Example:
mc <- connectURI mqttConfig{_protocol=Protocol50} "mqtt://broker/"
response <- call mc "some/path" "a message"
BL.hPut stdout response