This module extends servant to make it easy to define JSON-RPC servers and clients.
- 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 botherror
andresult
keys - The client interface hides the
id
key since the semantics of HTTP determine which server responses correspond to which client requests.
See the package ./servant-jsonrpc-example
for client, server, and API definition examples.