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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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


[Skip to Readme]

Properties

Versions 0.1.0.0, 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, 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 2019-11-11T05:22:32Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

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