![]() |
boost::taar::jsonrpc::make_response — Build a successful JSON-RPC 2.0 response envelope.
// In header: <boost/taar/jsonrpc/response.hpp> boost::json::value make_response(boost::json::value id, boost::json::value result);
Produces the spec's response shape:
{ "jsonrpc": "2.0", "id": <id>, "result": <result> }
Parameters: |
|