Packages

Execution Plane JSON-RPC framing and correlation lane.

Current section

Files

Jump to
Raw

guides/usage.md

# Usage

This guide targets `execution_plane_jsonrpc ~> 0.2.1`.

The main helper is `ExecutionPlane.JsonRpc.call/2`.

```elixir
{:ok, result} =
  ExecutionPlane.JsonRpc.call(%{
    command: "node",
    argv: ["client.js"],
    request: %{"method" => "ping", "params" => %{}}
  })
```

The package also exposes the lower JSON-RPC framing adapter for persistent
lane composition.