Skip to main content

rpc_response_to_jsonrpc

Function rpc_response_to_jsonrpc 

Source
pub fn rpc_response_to_jsonrpc(response: &RpcResponse, rpc_id: Value) -> String
Expand description

Convert an internal RpcResponse to a JSON-RPC 2.0 response.