This is implementation of transport agnostic JSONRPC 2.0 protocol. There is no transport level. It consists only of specification entities, such as:
JSONRPC2.Spec.Batch- batch operationsJSONRPC2.Spec.Error- error object and protocol predefined error codesJSONRPC2.Spec.Request- request objectJSONRPC2.Spec.Result- result object
It's built as a part of jsonrpc2_client and jsonrpc2_plug libraries.
If available in Hex, the package can be installed
by adding jsonrpc2_spec to your list of dependencies in mix.exs:
def deps do
[
{:jsonrpc2_spec, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/jsonrpc2_spec.