Skip to content

Tools to build JSON-RPC clients and servers the Servant way

Notifications You must be signed in to change notification settings

bitnomial/servant-jsonrpc

Repository files navigation

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.

About

Tools to build JSON-RPC clients and servers the Servant way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published