The jsonrpc-conduit package

[Tags: gpl, library]

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

Versions0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5
Dependenciesaeson (==0.6.*), attoparsec (==0.10.*), base (==4.*), bytestring (==0.10.*), conduit (==1.0.*), mtl (==2.1.*), text (==0.11.*), transformers (==0.3.*), unordered-containers (==0.2.*)
LicenseGPL-3
AuthorGabriele Sales
Maintainergbrsales@gmail.com
CategoryConduit
Executablesjsonrpc-conduit-demo
Upload dateWed Oct 2 07:21:01 UTC 2013
Uploaded byGabrieleSales
Downloads386 total (33 in last 30 days)

Modules

[Index]

Flags

NameDescriptionDefault
demoBuild the demo executable.Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees