net-mqtt-rpc: Make RPC calls via an MQTT broker.

[ bsd3, library, network, program ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/dustin/net-mqtt-rpc#readme


[Skip to Readme]
Versions [faq] 0.1.0.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), bytestring, net-mqtt (>=0.6.2.0 && <0.7.0.0), net-mqtt-rpc, network-uri, optparse-applicative, random, stm, text, uuid [details]
License BSD-3-Clause
Copyright MIT
Author Dustin Sallings
Maintainer dustin@spy.net
Category Network
Home page https://github.com/dustin/net-mqtt-rpc#readme
Bug tracker https://github.com/dustin/net-mqtt-rpc/issues
Source repo head: git clone https://github.com/dustin/net-mqtt-rpc
Uploaded by dustin at Mon Nov 11 05:22:54 UTC 2019
Distributions NixOS:0.1.0.0
Executables mqtt-rpc
Downloads 39 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-11-11 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for net-mqtt-rpc-0.1.0.0

[back to package description]

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