metro/live/json_rpc_client library

Classes

JsonRpcClient
A minimal JSON-RPC 2.0 client over a WebSocket.
JsonRpcNotification
A notification pushed by the peer, such as a VM service streamNotify.

Exceptions / Errors

JsonRpcConnectionClosed
Thrown for calls that can't complete because the connection closed.
JsonRpcException
An error response returned by a JSON-RPC 2.0 peer.