Stdio Protocol
Usage
r2a stdio
Message Format
Each message follows the JSON-RPC 2.0 (https://www.jsonrpc.org/specification) specification.
Request:
{jsonrpc:2.0,method:<method>,params:{...},id:<number>}
Response:
{jsonrpc:2.0,result:{...},id:<number>}
Error:
{jsonrpc:2.0,error:{code:<number>,message:...},id:<number>}
Notification:
- no response expected
{jsonrpc:2.0,method:<method>,params:{...}}
Error codes
-32700Parse Error-32600Invalid Request-32601Method Not Found-32602Invalid Params-32603Internal Error-32000Timeout Error-32001Cancelled Error-32002Version Mismatch