JSONRPC2Plug.Response (jsonrpc2_plug v0.1.0)

Link to this section Summary

Link to this section Types

Specs

id() :: String.t() | number() | nil

Specs

method() :: String.t()

Specs

params() :: list() | map()

Specs

t() :: %JSONRPC2Plug.Response{id: id(), jsonrpc: String.t(), result: term()}

Link to this section Functions

Link to this function

new(id, result)

Specs

new(id(), term()) :: t()