jsonrpc-conduit: JSON-RPC 2.0 server over a Conduit.
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.
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
demo | Build the demo executable. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- jsonrpc-conduit-0.2.6.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Versions [RSS] | 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, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.4.0, 0.4.1 |
---|---|
Dependencies | aeson (>=0.7 && <0.9), attoparsec (>=0.11 && <0.13), base (>=4 && <5), bytestring (>=0.10 && <0.11), 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 && <0.3) [details] |
License | GPL-3.0-only |
Author | Gabriele Sales |
Maintainer | gbrsales@gmail.com |
Category | Conduit |
Source repo | head: git clone https://github.com/gbrsales/jsonrpc-conduit.git |
Uploaded | by GabrieleSales at 2014-09-13T22:02:10Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | jsonrpc-conduit-demo |
Downloads | 9342 total (9 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |