JSONRPC2 v2.0.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

Specs

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

Specs

serialized_request(request(), module()) :: {:ok, String.t()} | {:error, any()}

Returns a serialized request using serializer.

See the README for more information on serializers.