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]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.2.0.0, 0.2.0.1
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), bytestring, exceptions, net-mqtt (>=0.8.2.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 2022-03-31T02:35:47Z
Distributions NixOS:0.2.0.1
Executables mqtt-rpc
Downloads 999 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-31 [all 1 reports]

Readme for net-mqtt-rpc-0.2.0.1

[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