Popularity
4.6
-
Activity
5.0
Growing
4
2
2

Monthly Downloads: 48
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Web     Servant    

servant-jsonrpc alternatives and similar packages

Based on the "servant" category

Do you think we are missing an alternative of servant-jsonrpc or a related project?

Add another 'servant' Package

README

servant-jsonrpc

This module extends servant to make it easy to define JSON-RPC servers and clients.

Notes

  • Does not enforce the jsonrpc key in the response
  • Does not enforce id key on error responses
  • We allow for server messages with null for both error and result keys
  • The client interface hides the id key since the semantics of HTTP determine which server responses correspond to which client requests.

Examples

See the package ./servant-jsonrpc-example for client, server, and API definition examples.