The jsonrpc-conduit package

[Tags:gpl, library, test]

jsonrpc-conduit implements the basic building block of a JSON-RPC 2.0 server.

It provides a Conduit that consumes RPC requests and invokes user-provided functions to handle them. Conversion of values to and from JSON is almost completely automatic thanks to the aeson library.

The JSON-RPC conduit is generic with respect to the channel used to exchange data with the client. It can use a network connection or, for example, the standard input / ouput of a process. The latter is demonstrated by the jsonrpc-conduit-demo executable, which can be compiled using the demo flag.

Properties

Versions 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0
Dependencies aeson (>=0.7 && <0.11), attoparsec (>=0.11 && <0.14), base (==4.*), bytestring (==0.10.*), conduit (>=1.1 && <1.3), conduit-extra (>=1.1 && <1.3), mtl (>=2.1 && <2.3), text (>=1.1 && <1.3), transformers (>=0.3 && <0.5), unordered-containers (==0.2.*) [details]
License GPL-3
Author Gabriele Sales
Maintainer gbrsales@gmail.com
Stability Unknown
Category Conduit
Source repository head: git clone https://github.com/gbrsales/jsonrpc-conduit.git
Uploaded Sun Dec 13 13:57:22 UTC 2015 by GabrieleSales
Distributions NixOS:0.3.0
Downloads 1445 total (29 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-12-13 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees