JSONRPC2 v0.3.0 JSONRPC2.Response
JSON-RPC 2.0 Response object utilites.
Summary
Functions
Deserialize the given response
using serializer
Returns a tuple containing the information contained in response
Types
id_and_response :: {JSONRPC2.id | nil, {:ok, any} | {:error, code :: integer, message :: String.t, data :: any}}
Functions
Specs
deserialize_response(String.t, module) ::
{:ok, id_and_response} |
{:error, any}
Deserialize the given response
using serializer
.
Specs
id_and_response(map) ::
{:ok, id_and_response} |
{:error, any}
Returns a tuple containing the information contained in response
.