pub(crate) fn new_client() -> (Client, ClientAdapter)
Expand description

Constructor a JSON-RPC client. Returns a tuple: the client you can use to send requests, and the adapter you must pass to run_with_client() to connect the client to the proper IO.