@hackage net-mqtt-rpc0.1.0.0
Make RPC calls via an MQTT broker.
Categories
License
BSD-3-Clause
Maintainer
dustin@spy.net
Links
Versions
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