ACP.RPC.Request (agent_client_protocol v0.1.0)

Copy Markdown View Source

JSON-RPC 2.0 Request object.

Summary

Types

t()

@type t() :: %ACP.RPC.Request{
  id: ACP.RequestId.t(),
  method: String.t(),
  params: any() | nil
}

Functions

from_json(map)

new(id, method, params \\ nil)

to_json(req)