Trait bitcoin_cli::BaseRequestHandler
source · pub trait BaseRequestHandler {
// Required methods
fn prepare_request(
&mut self,
method: &str,
args: &Vec<String>
) -> Result<UniValue, StdException>;
fn process_reply(
&mut self,
batch_in: &UniValue
) -> Result<UniValue, StdException>;
}
Expand description
| Class that handles the conversion from | a command-line to a JSON-RPC request, | as well as converting back to a JSON object | that can be shown as result. |