JSONRPC2 v1.2.0 JSONRPC2.Request View Source

JSON-RPC 2.0 Request object utilites.

Link to this section Summary

Functions

Returns a map representing the JSON-RPC2.0 request object for request.

Returns a serialized request using serializer.

Link to this section Types

Link to this section Functions

Link to this function

request(request) View Source
request(request()) :: map()

Returns a map representing the JSON-RPC2.0 request object for request.

Link to this function

serialized_request(request, serializer) View Source
serialized_request(request(), module()) :: {:ok, map()} | {:error, any()}

Returns a serialized request using serializer.

See the README for more information on serializers.