json-rpc: Fully-featured JSON-RPC 2.0 library

[ library, mit, network, program, public-domain ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/jprupp/json-rpc#readme

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0
Change log CHANGELOG.md
Dependencies aeson (>=2.2), attoparsec, attoparsec-aeson, base (>=4.6 && <5), bytestring, conduit, conduit-extra, deepseq, hashable, json-rpc, monad-logger, mtl, QuickCheck, stm-conduit, text, time, unliftio, unordered-containers, vector [details]
License MIT
Author Jean-Pierre Rupp
Maintainer jprupp@protonmail.ch
Category Network
Home page https://github.com/jprupp/json-rpc.git#readme
Bug tracker https://github.com/jprupp/json-rpc.git/issues
Source repo head: git clone https://github.com/jprupp/json-rpc.git
Uploaded by jprupp at 2023-12-29T10:49:17Z
Distributions LTSHaskell:1.0.4, Stackage:1.1.0
Reverse Dependencies 5 direct, 0 indirect [details]
Executables time-server, time-client, concurrent-server, concurrent-client
Downloads 22575 total (73 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for json-rpc-1.1.0

[back to package description]


Fully-featured JSON-RPC 2.0 library for Haskell programs.

This JSON-RPC library is fully-compatible with JSON-RPC 2.0 and 1.0. It provides an interface that combines a JSON-RPC client and server. It can set and keep track of request ids to parse responses. There is support for sending and receiving notifications. You may use any underlying transport. Basic TCP client and server provided.

A JSON-RPC application using this interface is considered to be peer-to-peer, as it can send and receive all types of JSON-RPC message independent of whether it originated the connection.