Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dustin/net-mqtt-rpc

Make RPC calls via an MQTT broker.
https://github.com/dustin/net-mqtt-rpc

Last synced: about 2 months ago
JSON representation

Make RPC calls via an MQTT broker.

Awesome Lists containing this project

README

        

# 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:

```haskell
mc <- connectURI mqttConfig{_protocol=Protocol50} "mqtt://broker/"
response <- call mc "some/path" "a message"
BL.hPut stdout response
```