Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dustin/net-mqtt-rpc
- Owner: dustin
- License: bsd-3-clause
- Created: 2019-11-11T05:16:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-31T02:36:39.000Z (over 2 years ago)
- Last Synced: 2024-10-11T14:15:22.013Z (2 months ago)
- Language: Haskell
- Size: 78.1 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
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
```